/GstPipeline:dstest4-pipeline/GstNvMsgBroker:nvmsg-broker: unable to connect to broker library

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) -> dGPU
• DeepStream Version -> 5.0
• TensorRT Version -> 7.0
• NVIDIA GPU Driver Version (valid for GPU only) -> 440.82

So, I was testing the deepstream-test4 app, below are the steps that i followed(on aws instance):

  1. start a ZooKeeper server

  2. started kafka server

  3. created a topic test (localhost:9092)

  4. started deepstream-5.0:devel docker container

  5. cd deepstream-test4 && make

  6. Kafka:

$ sudo apt-get install libglib2.0 libglib2.0-dev
$ sudo apt-get install libjansson4  libjansson-dev
$ sudo apt-get install librdkafka1=0.11.3-1build1

Entered this command:

./deepstream-test4-app -i ../../../../samples/streams/sample_720p.h264 -p /opt/nvidia/deepstream/deepstream-5.0/lib/libnvds_kafka_proto.so --conn-str="localhost;9092;test" --no-display -s 0

And then I got this error:

Now playing: ../../../../samples/streams/sample_720p.h264
ERROR from element nvmsg-broker: Could not configure supporting library.
Error details: gstnvmsgbroker.c(332): gst_nvmsgbroker_start (): /GstPipeline:dstest4-pipeline/GstNvMsgBroker:nvmsg-broker:
unable to connect to broker library
Returned, stopping playback
Deleting pipeline

thanks in advance.