Hello! Certain message broker libraries have their own inbuilt auto-reconnect option set as default, so the auto-reconnect configuration in cfg_nvmsgbroker.txt would not override the inbuilt auto-reconnect option of the proto lib. For example, librdkafka will automatically reconnect after reconnect.backoff.jitter.ms (default 500ms).
To disable the inbuilt librdkafka autoreconnect and test with the DS nvmsgbroker auto-reconnect, we would set this configuration to a very high number in the file /opt/nvidia/deepstream/deepstream/sources/libs/kafka_protocol_adaptor/cfg_kafka.txt
proto-cfg = “reconnect.backoff.jitter.ms=360000”
Please check if the mqtt broker has a similar option which may be causing this behavior.