kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Stopford <...@confluent.io>
Subject Re: Error while sending data to kafka producer
Date Wed, 09 Dec 2015 18:28:15 GMT
what is your server config?

> On 9 Dec 2015, at 18:21, Ritesh Sinha <kumarriteshranjansinha@gmail.com> wrote:
> 
> 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
View raw message