Skip to content

Instantly share code, notes, and snippets.

@odedia
Created May 19, 2018 14:02
Show Gist options
  • Select an option

  • Save odedia/2559440881af02830fda9da00e1d388e to your computer and use it in GitHub Desktop.

Select an option

Save odedia/2559440881af02830fda9da00e1d388e to your computer and use it in GitHub Desktop.
#mykafka or myrabbit?
spring.cloud.stream.defaultBinder = mykafka
#Target Stream for beers channel
spring.cloud.stream.bindings.output.destination = beers-channel
#Kafka Settings:
spring.cloud.stream.binders.mykafka.type = kafka
spring.cloud.stream.binders.mykafka.environment.spring.cloud.stream.kafka.binder.brokers = localhost:9092
spring.cloud.stream.binders.mykafka.environment.spring.cloud.stream.kafka.binder.zkNodes = localhost:2181
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment