-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection refused for MQTT Kafka broker after setting up TLS on the Kafka client #1389
Comments
@AlexisSouquiere thanks for filing this issue, we are here to help. Detailed trace level logs can be obtained by using the Please follow the steps in our documentation to capture a dump and then attach the |
Thank you for the quick answer. Here is the pcap file (I changed the extension to be allowed to upload the file) |
Hi @AlexisSouquiere ,
In the meantime, I'm analyzing your PCAP to see why it's behaving differently than in my setup. |
I will check your setup and see if I can make it works. Will give you an update quickly. Thank you ! |
I managed to make it works after installing zilla on a VM close to the Kafka cluster (same VLAN). I don't know yet what is causing the issue when I install it on my laptop but I can confirm that zilla and a kafka cluster with SASL/SSL works fine. |
Sure thing @AlexisSouquiere , |
Describe the bug
I'm unable to publish messages to a MQTT Kafka broker when using TLS and SASL for the Kafka client connection. The connection with the Kafka cluster seems to work because messages are produced in the session topic and zilla can read messages in the topics.
Tests I did:
In the last setup:
mqtt-sessions
topicHere is an extract of the logs that shows the successful authentication and session message producing
To Reproduce
Here is the zilla.yaml file I used:
Expected behavior
Like with the docker-compose setup, being able to produce a message with mosquitto_pub and to see in the mqtt_messages topic
Zilla Environment:
Zilla 0.9.122
Start command: start -v -e
Kafka Environment:
Client Environment:
Mosquitto 2.0.20
Additional context
We were looking for a way to add more logs to be able to debug easily. I found the
-Dzilla.binding.kafka.debug=true
argument that is helpful but is there anything else that we could use ?The text was updated successfully, but these errors were encountered: