Kafka Connection Failure

I am getting the following error when I am trying to configure output.kafka on my filebeat configuration:

"log.logger":"kafka","log.origin":{"file.name":"kafka/client.go","file.line":406},"message":"Kafka publish failed with: kafka: couldn't fetch broker metadata (check that your client and broker are using the same encryption and authentication settings)","service.name":"filebeat","ecs.version":"1.6.0"}

My output.kafka configs:

output.kafka:
enabled: true
hosts: ["server1:9093", "server2:9093", "server2:9093"]
topic: dev_core
ssl.enabled: true
ssl.certificate_authorities: ["/opt/filebeat/CA.pem"]
ssl.certificate: "/opt/filebeat/NessCertificate.pem"
ssl.key: "/opt/filebeat/NessCertificate.key"
ssl.key_passphrase: 'aabbababababababa'

Kindly Help

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