Update kafka streams samples
Address Serde changes from upstream Polishing
This commit is contained in:
@@ -29,12 +29,12 @@ For more information on how this is done, please take a look at the application
|
||||
5. Run the stand-alone `Producers` application to generate data and start the processing.
|
||||
Keep it running for a while.
|
||||
|
||||
6. Go to the URL: http://localhost:8080/charts/top-five?genre=Punk
|
||||
6. Go to the URL: https://localhost:8080/charts/top-five?genre=Punk
|
||||
keep refreshing the URL and you will see the song play count information changes.
|
||||
|
||||
Take a look at the console sessions for the applications and you will see that it may not be the processor started on 8080 that serves this request.
|
||||
|
||||
7. Go to the URL: http://localhost:8082/charts/top-five?genre=Punk
|
||||
7. Go to the URL: https://localhost:8082/charts/top-five?genre=Punk
|
||||
|
||||
Take a look at the console sessions for the applications and you will see that it may not be the processor started on 8082 that serves this request.
|
||||
|
||||
|
||||
@@ -1,26 +1,21 @@
|
||||
spring.cloud.stream.bindings.input:
|
||||
destination: play-events
|
||||
consumer:
|
||||
useNativeDecoding: true
|
||||
spring.cloud.stream.bindings.inputX:
|
||||
destination: song-feed
|
||||
consumer:
|
||||
useNativeDecoding: true
|
||||
spring.cloud.stream.kafka.streams.bindings.input:
|
||||
consumer:
|
||||
keySerde: org.apache.kafka.common.serialization.Serdes$StringSerde
|
||||
valueSerde: io.confluent.kafka.streams.serdes.avro.SpecificAvroSerde
|
||||
spring.cloud.stream.kafka.streams.bindings.inputX:
|
||||
consumer:
|
||||
keySerde: org.apache.kafka.common.serialization.Serdes$LongSerde
|
||||
valueSerde: io.confluent.kafka.streams.serdes.avro.SpecificAvroSerde
|
||||
materializedAs: all-songs
|
||||
spring.cloud.stream.kafka.streams.binder:
|
||||
brokers: localhost #192.168.99.100
|
||||
brokers: localhost
|
||||
configuration:
|
||||
schema.registry.url: http://localhost:8081
|
||||
commit.interval.ms: 1000
|
||||
spring.cloud.stream.kafka.streams.binder.autoAddPartitions: true
|
||||
spring.cloud.stream.kafka.streams.binder.minPartitionCount: 4
|
||||
spring.cloud.stream.kafka.streams.binder.configuration.application.server: localhost:8080
|
||||
spring.applicaiton.name: kafka-streams-iq-advanced-sample
|
||||
|
||||
spring.application.name: kafka-streams-iq-advanced-sample
|
||||
Reference in New Issue
Block a user