Hi,

I am trying to send message to kafka producer using encryption and
authentication.After creating the key and everything successfully.While
passing the value through console i am getting this error:

ERROR Error when sending message to topic test with key: null, value: 2
bytes with error: Failed to update metadata after 60000 ms.
(org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)

I am using this command :

kafka-console-producer.sh --broker-list localhost:9093 --topic test
--producer.config *client-ssl.properties*


content of client-ssl.properties:

security.protocol = SSL
ssl.truststore.location =
/home/ritesh/software/kafka_2.10-0.9.0.0/kafka.client.truststore.jks
ssl.truststore.password = test1234


What could be the issue ?

Reply via email to