This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # Copyright 2015 Julian Meyer | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| if ! aws_bin="$(which aws)" 2>/dev/null; then | |
| echo "aws cli is missing; you can get it from https://aws.amazon.com/cli/" | |
| exit 1 | |
| fi | |
| if ! jq_bin="$(which jq)" 2>/dev/null; then | |
| echo "jq is missing; you can get it from https://stedolan.github.io/jq/" | |
| exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Convert p12 to pem | |
| openssl pkcs12 -in certificate.p12 -out certificate.pem -clcerts -nodes | |
| # Convert pem to p12 | |
| openssl pkcs12 -export -in certificate.pem -out certificate.p12 -passout pass:password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
| <template encoding-version="1.2"> | |
| <description></description> | |
| <groupId>5a947580-0162-1000-5d8d-992c13e7c294</groupId> | |
| <name>InfluxDB Flow File Driven Template</name> | |
| <snippet> | |
| <connections> | |
| <id>f1bbac26-89dd-30a9-0000-000000000000</id> | |
| <parentGroupId>d4087a54-b4ad-383b-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import kafka.server.KafkaConfig; | |
| import kafka.server.KafkaServer; | |
| import java.io.File; | |
| import java.io.FileNotFoundException; | |
| import java.util.ArrayList; | |
| import java.util.Collections; | |
| import java.util.List; | |
| import java.util.Properties; |