Kafka publish failed with: kafka: client has run out of available brokers to talk to (Is your cluster reachable?)

Dear friends, need your help.
For last couple of days stuck with below error. we are trying to send application logs to kafka, below is the kafka output config. We want to use kerberose auth type. I am not sure whether SSL settings are required. It would be really great if anyone helps me on this issue.
Note: Masked sensitive info

initial brokers for reading cluster metadata

hosts: ["xxxxxx:port", "xxx:9092", "xx:9092"]
kerberos.enabled: true
kerberos.auth_type: keytab
kerberos.username: "xxxxx"
kerberos.password: "xxxxx"
kerberos.keytab: "/usr/share/tomcat/conf/xxxx.keytab"
kerberos.service_name: "cdkafka"
kerberos.config_path: "/usr/share/tomcat/conf/krb5.conf"
kerberos.realm: "xxx.com"
username: "xxxx"
password: "xxxx"

message topic selection + partitioning

topic: 'TP.xxxx'
reachable_only: false
ssl.enabled: false
ssl.certificate: "./xxx.pem"
ssl.key: "./xx.key"
required_acks: 1
compression: none
max_message_bytes: 1000000

Friends can anyone help to resolve above issue?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.