You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
I have one question: Is it possible to connect to the kafka broker from the host machine outside of kubernetes?
I'm able to access the kafka-manager via http://192.168.99.105:31510 but when I try to connect to the kafka broker from my application via bootstrap-servers: 192.168.99.105:9092 I only get the error org.apache.kafka.clients.NetworkClient : [Consumer clientId=consumer-1, groupId=dummyclienttester] Connection to node -1 could not be established. Broker may not be available.
Any help appreciated.
The text was updated successfully, but these errors were encountered:
hardly enaugh, as in this case the output will be something like "ailed to resolve 'kafka-0.kafka-nodeport.kafka-ca1.svc.cluster.local:9092': Name or service not know' , maybe KAFKA_ADVERTISED_HOST_NAME is needed ?
You must create services with type NodePort referencing your pods
First thanks for this helpful tutorial!
I have one question: Is it possible to connect to the kafka broker from the host machine outside of kubernetes?
I'm able to access the kafka-manager via
http://192.168.99.105:31510
but when I try to connect to the kafka broker from my application viabootstrap-servers: 192.168.99.105:9092
I only get the errororg.apache.kafka.clients.NetworkClient : [Consumer clientId=consumer-1, groupId=dummyclienttester] Connection to node -1 could not be established. Broker may not be available.
Any help appreciated.
The text was updated successfully, but these errors were encountered: