How to define the kafka message with my own classes-info format

environment: docker container with samples rev for deepstream5.1

I want to run the deepstream under python code to send my own kafka message with my own model. I have successfully sending the kafka message with my own model but I don’t know how to revise the message format by myself. Hope somebody help to show me the detail, thanks in advance!

Your topic was posted in the wrong category. I am moving this to the DeepStream SDK category for visibility.

What format do you want to revise? Could you refer our demo code below?
https://github.com/NVIDIA-AI-IOT/deepstream_python_apps/tree/master/apps/deepstream-test4

Thanks!
Yes, I had checked this code, it seems the message have already defined in the c code? I want to define the message by my own model with my class_names.

You can refer the user guide and the demo code below to learn how to use our msgconv plugin.
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_plugin_gst-nvmsgbroker.html#nvds-kafka-proto-kafka-protocol-adapter