This file contains 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
✔ ~/projects/github/swagger-codegen [master|✔] | |
14:46 $ java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate -i ~/projects/github/nifi/swagger.json -l java -o ~/projects/github/nifi-sdk/java | |
[main] INFO io.swagger.parser.Swagger20Parser - reading from /Users/xxxxx/projects/github/nifi/swagger.json | |
[main] INFO io.swagger.codegen.DefaultCodegen - Skipped overwriting pom.xml as the file already exists in /Users/xxxxx/projects/github/nifi-sdk/java//pom.xml | |
[main] INFO io.swagger.codegen.DefaultCodegen - Skipped overwriting README.md as the file already exists in /Users/xxxxx/projects/github/nifi-sdk/java//README.md | |
[main] INFO io.swagger.codegen.DefaultCodegen - Skipped overwriting build.gradle as the file already exists in /Users/xxxxx/projects/github/nifi-sdk/java//build.gradle | |
[main] INFO io.swagger.codegen.DefaultCodegen - Skipped overwriting build.sbt as the file already exists in /Users/xxxxx/projects/github/nifi-sdk/java//build.sbt | |
[main] INFO io.swagger.codegen.DefaultCodegen - Sk |
This file contains 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
{ | |
"swagger" : "2.0", | |
"info" : { | |
"description" : "The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and \n stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description,\n definitions of the expected input and output, potential response codes, and the authorizations required\n to invoke each service.", | |
"version" : "1.0.0", | |
"title" : "NiFi Rest Api", | |
"contact" : { | |
"url" : "https://nifi.apache.org", | |
"email" : "dev@nifi.apache.org" | |
}, |
This file contains 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
{ | |
"swagger" : "2.0", | |
"info" : { | |
"description" : "The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and \n stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description,\n definitions of the expected input and output, potential response codes, and the authorizations required\n to invoke each service.", | |
"version" : "1.0.0", | |
"title" : "NiFi Rest Api", | |
"contact" : { | |
"url" : "https://nifi.apache.org", | |
"email" : "dev@nifi.apache.org" | |
}, |
This file contains 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
// Kafka Client authentication | |
KafkaClient { | |
com.sun.security.auth.module.Krb5LoginModule required | |
useKeyTab=true | |
storeKey=true | |
keyTab="/etc/kafka/keytabs/schemaregistry.keytab" | |
principal="schemaregistry@EXAMPLE.COM"; | |
}; | |
// Zookeeper client authentication |
This file contains 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
# java properties file: | |
# SASL related properties | |
kafkastore.bootstrap.servers=SASL_SSL://kafka-1:9095/ | |
kafkastore.sasl.kerberos.service.name=kafka | |
zookeeper.set.acl=true | |
# SSL related properties | |
kafkastore.ssl.truststore.location=/etc/kafka/secrets/kafkatruststore.jks | |
kafkastore.ssl.truststore.password=kafkatruststorepassword | |
# environment variable: |
This file contains 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
kafka-topics --create --topic _schemas --zookeeper zoo1:2181 \ | |
--config cleanup.policy=compact --partitions 1 --replication-factor 3 |
This file contains 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
listeners=https://0.0.0.0:443/ | |
ssl.keystore.location=/etc/kafka/secrets/yourkeystore.jks | |
ssl.keystore.password=yourkeystorepassword | |
ssl.key.password=yourkeypassword | |
# The following are optional only if you’d like to authenticate HTTPS clients | |
ssl.truststore.location=/etc/kafka/secrets/yourtruststore.jks | |
ssl.truststore.password=yourtruststorepassword |
OlderNewer