Deepstrem send kafka message according custom needs

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

The question is how to trigger the sending of kafka messages, in deepstream-test5-app is that each object information triggers a send event, I want to put all the messages together and then send them together just one time, rather than sending messages every time a object is detected

just want to gather all frames’s info and package them into one message ,then send this message via kafka,not sending message for each frame

Yes. You can store the info in some other places and generate the new msg event when needed.

thankyou ,i have solved this ,but there is a question ,i encoded the jpeg image to base64 string for json object,but could not send this message via kafka,it show this error below

, ,when i change this base64 string to a short string ,it is success

There is no update from you for a period, assuming this is not an issue anymore.
Hence we are closing this topic. If need further support, please open a new one.

You can debug with the open source /opt/nvidia/deepstream/deepstream/sources/libs/kafka_protocol_adaptor

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.