How to send frames through Kafka

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
**• DeepStream Version ** 6.2
• 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)

How do I send frames through Kafka?

Right now, I extract RGBA numpy array and convert it into BGR, later encode it into json object along with the metadata to send to a kafka broker. Is there a better way?

i mean if there is any deepstream plugin that directly converts nvmm to bytes

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. Thanks

Kafka( Apache Kafka) only support text messages. You need to customize the binary BGR data into text encoding by yourself. And you also need to customize the text to BGR data decoding in the Kafka server side to get the correct BGR data by yourself.

NVMM is a hardware buffer, there is no function or API to convert the content into text.

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