You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have an mqtt source connector and it is subscribed correctly to a wildcard topic. the connector receives messages from all topics and writes them into a single kafka topic. my question is:
how can i keep track of the original MQTT topic the message was sent to? ideally i would like to include the topic name in the kafka message body and as part of its key as well
is it possible to write the messages within new kafka topics using the same name as the original MQTT topic ? e.g. mqttTopics/# ---> message written in kafka topic mqttTopics.myTopic.mySubtopic .. .etc ?
The text was updated successfully, but these errors were encountered:
At the moment there is no option of doing that. What you have suggested on point 2, regarding the output topic is potentially your requirement.
What can be done quickly, is to add the source Mqtt topic/queue to be added as a header, and then use an SMT to use the header , adapt to your needs, and set the new target topic.
i have an mqtt source connector and it is subscribed correctly to a wildcard topic. the connector receives messages from all topics and writes them into a single kafka topic. my question is:
The text was updated successfully, but these errors were encountered: