[ https://issues.apache.org/jira/browse/KAFKA-1945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joel Koshy resolved KAFKA-1945. ------------------------------- Resolution: Invalid > MetaData Response - Broker hostname is wrong > -------------------------------------------- > > Key: KAFKA-1945 > URL: https://issues.apache.org/jira/browse/KAFKA-1945 > Project: Kafka > Issue Type: Bug > Components: core > Reporter: saravana kumar > > I use python-kafka's SimpleConsumer to listen to a topic in kafka broker. > Kafka broker is running on a machine with its hostname as BROKER_HOST. Now, > SimpleConsumer from another machine requests for topic metadata from the > broker BROKER_HOST for a topic TOPIC & gets a python tuple > (Broker metadata, Topic metadata) > Broker metadata comes as, > {0: BrokerMetadata(nodeId=0, host='localhost', port=9092)} > ideally, host value must be BROKER_HOST("hostname" cmd from broker shell tty > confirms it) but it comes as localhost... > How does the wrong broker metadata for a topic get into kafka system? And > obviously, this breaks the system since my consumer tries to connect to 9092 > on its localhost. -- This message was sent by Atlassian JIRA (v6.3.4#6332)