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

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

Release : 21.2

Component :

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

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/21-2/administrating/data-extraction/configure-streaming-metric-export-to-a-kafka-cluster.html#concept.dita_1df75e3a-4342-4e93-b4bd-fd3156971560_ConfigureKafkaDestination