Open smitaminakshi opened 6 years ago
Has anybody taken a look at this issue? This is urgent.
Hi Team,
We are from SAP Ariba and we are trying out your opensource confluent kafka/zookeeper version to get things testing for one of the crucial projects. It would be great and very helpful if you guys could share your thoughts on this issue that we are facing currently.
The images work fine on their own...
Perhaps you should better document your Consul configurations so that your issue can be reproduced?
Our Kafka Zookeeper setup
We pull the docker image from
confluentinc/cp-kafka:latest
for kafka and for zookeeperconfluentinc/cp-zookeeper:latest
and followed this documentation https://docs.confluent.io/current/installation/docker/docs/development.html to start the container We use consul as service discovery to registercp-kafka
andcp-zookeper
to consul . From our Java application(will try give a brief explanation about this later) we try to connect tocp-kafka
andcp-zookeeper
using consul DNS queries . It's consul functionality that we can reach a certain service registered in consul using<regsitered-service.service>
, in our case itscp-kafka.service
and if we want to reach zookeeper it iscp-zookeeper.service
. So, this is our setup for kafka/zookeeperNow comes the issue: We aren't able to connect to kafka service registered in Consul. The DNS name resolution fails (that's what we assume from the stacktrace as seen in the application), thus giving the exception:
Could you let me know if there could be anything missing in the setup. Please let me know if any more information is required.