kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ritesh Sinha <kumarriteshranjansi...@gmail.com>
Subject Error while sending data to kafka producer
Date Wed, 09 Dec 2015 18:21:42 GMT
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 ?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message