Skip to content

Instantly share code, notes, and snippets.

@ankitthakur
Created September 3, 2018 13:09
Show Gist options
  • Save ankitthakur/315ac00d758d1317287db1102e2eacb8 to your computer and use it in GitHub Desktop.
Save ankitthakur/315ac00d758d1317287db1102e2eacb8 to your computer and use it in GitHub Desktop.
kafka stream binding as producer
spring:
cloud:
stream:
kafka:
binder:
brokers: localhost:9092 #kafkahost:kafkaport
bindings:
kafkatopic1: # this is particular topic, we will create in spring to create connection
destination: test # name of the topic
contentType: application/json # what sort of data, we want to send in message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment