Can we publish data on two different topic with the help of msgBroker

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) :- Jetson Tx2
• DeepStream Version :- 5.1
• JetPack Version (valid for Jetson only) :- 4.5
• TensorRT Version :- 7.1.3

Hello , i was trying to study the code for publishing message with the help of msgbroker .
my question is can we publish the same message on two different topic for rabbitmq(amqp) as in config file i can see only one topic name .

i do not want to use fanout i want to use direct as exchange .

please help me to send message to two different topic using msgbroker

Note:- i am using python codebase

thank you

We do not support pulishing same message to different topics. will check with dev team if we will support.

thank you for the response .

But you can do like this. use whatever topicname you want to in the send() api, for example, nvds_msgapi_send_async in msg broker plugin, send(topic1, msg); send(topic2,msg); …

how to use this in python code