enable debug logs to find out the actual error.

On Wed, Jul 26, 2017 at 12:49 AM, karan alang <karan.al...@gmail.com> wrote:

> hi - I've enabled SSL for Kafka & i'm trying to publish messages using
> console Producer
>
> Error is as shown below, any ideas ?
>
>>
>>    1. /usr/hdp/2.5.3.0-37/kafka/bin/kafka-console-producer.sh --broker-list
>>    nwk2-bdp-kafka-05.gdcs-qa.apple.com:6668,nwk2-bdp-kafka-04.gdcs-qa.
>>    apple.com:6668,nwk2-bdp-kafka-06.gdcs-qa.apple.com:6668 --topic
>>    sslTopic1 --producer.config /tmp/ssl-kafka/client-ssl.properties --
>>    security-protocol SSL
>>    2.
>>    3. hi
>>    4.
>>    5. [2017-07-25 19:10:54,750] ERROR Error when sending message to
>>    topic sslTopic1 with key: null, value: 2 bytes with error: (org.apache
>>    .kafka.clients.producer.internals.ErrorLoggingCallback)org.apache.
>>    kafka.common.errors.TimeoutException: Failed to update metadata after
>>    60000 ms.
>>
>>
> client-ssl.properties
>
>
>>    1. security.protocol=SSL
>>    2. ssl.truststore.location=/tmp/ssl-kafka/client.truststore.jks
>>    3. ssl.truststore.password=changeit
>>    4. ssl.keystore.location=/tmp/ssl-kafka/client.keystore.jks
>>    5. ssl.keystore.password=changeitssl.key.password=changeit
>>    6. ssl.enabled.protocols=TLSv1.2,TLSv1.1,TLSv1ssl.keystore.type=JKS
>>    7. ssl.truststore.type=JKS
>>
>>
> Attaching the server.properties
>
>
>
>
>
>
>
>
>

Reply via email to