Skip to content

Instantly share code, notes, and snippets.

@rfaita
Last active July 23, 2020 19:31
Show Gist options
  • Save rfaita/581fbdf4cccc4e38a825afd5e97ccb07 to your computer and use it in GitHub Desktop.
Save rfaita/581fbdf4cccc4e38a825afd5e97ccb07 to your computer and use it in GitHub Desktop.
application.yml
spring:
cloud:
stream:
bindings:
input:
destination: amq.topic
binder: rabbitmqtt
group: sensor-consumer-group
output:
destination: iot.edge.topic
binder: rabbit
rabbit:
bindings:
input:
consumer:
queueNameGroupOnly: true
bindingRoutingKey: ".sensor"
binders:
rabbitmqtt:
type: rabbit
defaultCandidate: false
inheritEnvironment: false
environment:
spring:
rabbitmq:
host: localhost
port: 5673
username: guest
password: guest
rabbit:
type: rabbit
defaultCandidate: false
inheritEnvironment: false
environment:
spring:
rabbitmq:
host: localhost
port: 5672
username: guest
password: guest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment