Unable to connect to Kafka - Confluent Cloud

Hi,

I am trying to use Kafka for implementing a requirement. All the development activities are done in a virtual environment. I am getting the below error while connecting to CC through my application. Could this be a firewall issue?
WARN 2564 — [ad | producer-1] org.apache.kafka.clients.NetworkClient : [Producer clientId=producer-1] Bootstrap broker XXXXXX (id: -1 rack: null) disconnected
WARN 2564 — [ad | producer-1] org.apache.kafka.clients.NetworkClient : [Producer clientId=producer-1] Connection to node -1 (XXXXXX) could not be established. Broker may not be available.

My colleague working in the customer environment (i.e. not using a virtual env) is able to establish the connection using the same code base.

Any help is much appreciated as I am really stuck with my task :frowning:

Hi @KafkaLearner

speaking about virutal env:
what does this exactly mean in you setup? VMs? docker?

best,
michael