Created
September 3, 2018 13:15
-
-
Save ankitthakur/a53652665588d181fe34a1e925902a09 to your computer and use it in GitHub Desktop.
spring kafka properties
This file contains hidden or 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
| # kafkahost:kafkaport | |
| spring.cloud.stream.kafka.binder.brokers="localhost:9092" | |
| # kafkatopic1 is the stream, will create, and the stream will get the destination or topic name from here | |
| # test is the topic name | |
| spring.cloud.stream.bindings.kafkatopic1.destination=test | |
| # kafkatopic1 is the stream, where we will define in what sort, we will send data | |
| spring.cloud.stream.bindings.kafkatopic1.content-type=application/json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment