Skip to content

Instantly share code, notes, and snippets.

@kaiwaehner
Created October 29, 2019 12:18
Show Gist options
  • Save kaiwaehner/ea865cfc494c40b0504802cf3864adbe to your computer and use it in GitHub Desktop.
Save kaiwaehner/ea865cfc494c40b0504802cf3864adbe to your computer and use it in GitHub Desktop.
// Configure Kafka Streams Application
Properties streamsConfiguration = new Properties();
streamsConfiguration.put(StreamsConfig.APPLICATION_ID_CONFIG, "kafka-streams-tensorflow-keras-integration-test");
streamsConfiguration.put(StreamsConfig.BOOTSTRAP_SERVERS_CONFIG, CLUSTER.bootstrapServers());
// Specify default (de)serializers for record keys and for record values
streamsConfiguration.put(StreamsConfig.DEFAULT_KEY_SERDE_CLASS_CONFIG, Serdes.String().getClass().getName());
streamsConfiguration.put(StreamsConfig.DEFAULT_VALUE_SERDE_CLASS_CONFIG, Serdes.String().getClass().getName());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment