Update kafka streams samples

Address Serde changes from upstream
Polishing
This commit is contained in:
Soby Chacko
2019-06-18 14:06:15 -04:00
parent aeb05a7515
commit 68b0614638
20 changed files with 38 additions and 119 deletions

View File

@@ -1,19 +1,8 @@
spring.cloud.stream.bindings.output.contentType: application/json
spring.cloud.stream.kafka.streams.binder.configuration.commit.interval.ms: 1000
spring.cloud.stream.kafka.streams:
binder.configuration:
key.serde: org.apache.kafka.common.serialization.Serdes$StringSerde
value.serde: org.apache.kafka.common.serialization.Serdes$StringSerde
bindings.output.producer:
keySerde: org.apache.kafka.common.serialization.Serdes$IntegerSerde
valueSerde: org.apache.kafka.common.serialization.Serdes$LongSerde
spring.cloud.stream.bindings.output:
destination: product-counts
producer:
useNativeEncoding: true
spring.cloud.stream.bindings.input:
destination: products
consumer:
spring.cloud.stream.kafka.streams.binder:
brokers: localhost #192.168.99.100
brokers: localhost
spring.application.name: kafka-streams-iq-basic-sample