Created
October 29, 2019 12:00
-
-
Save kaiwaehner/8b076f8f9b8e19abf05ebbb98afd1d6a to your computer and use it in GitHub Desktop.
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
// Configure Kafka Streams Application | |
final String bootstrapServers = args.length > 0 ? args[0] : "localhost:9092"; | |
final Properties streamsConfiguration = new Properties(); | |
// Give the Streams application a unique name. The name must be unique | |
// in the Kafka cluster against which the application is run. | |
streamsConfiguration.put(StreamsConfig.APPLICATION_ID_CONFIG, "kafka-streams-tensorflow-serving-gRPC-example"); | |
// Where to find Kafka broker(s). | |
streamsConfiguration.put(StreamsConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment