Skip to content

Configuration question about mqtt -> kafka -> mqtt for topics in zilla #902

Answered by jfallows
jfallows asked this question in Q&A
Discussion options

You must be logged in to vote

@jgeiger-trane would syntax such as the following work for you?

  routes:
    - when:
      - subscribe:
        - topic: devices/outgoing/{id}+
    with:
      messages:
        topic: mqtt.outgoing
        key: ${params.id}
    exit: north_kafka_cache_client
    when:
      - publish:
        - topic: devices/incoming/{id}
    with:
      messages:
        topic: incoming_messages
        key: ${params.id}
    exit: north_kafka_cache_client
  exit: north_kafka_cache_client

Replies: 3 comments 1 reply

Comment options

jfallows
Apr 8, 2024
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

jfallows
Apr 18, 2024
Maintainer Author

You must be logged in to vote
1 reply
@jgeiger-trane
Comment options

Answer selected by vordimous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants