Error connecting to node kafka:9092 (id: 0 rack: null)
search cancel

Error connecting to node kafka:9092 (id: 0 rack: null)

book

Article ID: 246010

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

Configure Streaming Metric Export to a Kafka Cluster

 KafkaLog.log message error:
WARN  | ead | producer-2 | AAA-MM-DDTHH:MM:SS,000 | NetworkClient | Context$LocationAwareKafkaLogger  434 | ix.bundles.kafka-clients |       | [Producer clientId=producer-2] Error connecting to node kafka:9092 (id: 0 rack: null)
 

[root@da etc]# cat kafkaexport.producer.cfg
#This is the default configuration file for KafkaResponseProducer
#Wed Dec 09 23:20:22 BRST 2020
topic=metric-export
feature.enabled=on
producer.bootstrap.servers=10.121.178.63:9092

Environment

All supported DX NetOps Performance Management releases

Cause

The DA needs to be able to get to the advertised or base listener address.

Resolution

Add kafka to /etc/hosts on the DA (no restart should be required), or modify the listener to a FQDN that the DA can access and restart the Kafka server.

Additional Information