Can you verify your producer and consumer commands ?

Console Producer :
./bin/kafka-console-producer.sh --broker-list xxxx:9093 --producer.config
/kafka/client-ssl.properties --topic kafka_220

Console Consumer:
./bin/kafka-console-consumer.sh --bootstrap-server xxxx:9093
--consumer.config /kafka/client-ssl.properties --topic kafka_220


cat /kafka/client-ssl.properties

security.protocol=SSL

ssl.truststore.location=xxxx

ssl.truststore.password=xxxx

ssl.endpoint.identification.algorithm=




/opt/kafka-new$ sh bin/kafka-console-producer.sh --broker-list
192.168.175.128:9092<http://192.168.175.128:9092/> --producer.config
producer-ssl.config --topic otp-email

Can you share the contents of producer-ssl.config ?


--Senthil

On Sat, May 4, 2019 at 11:14 AM ASHOK MACHERLA <iash...@outlook.com> wrote:

> Dear Senthil
>
> when I tried produce messages into topic ,this type errors coming
> continuously
>
> ashok@Node-1:/opt/kafka-new$ sh bin/kafka-console-producer.sh
> --broker-list 192.168.175.128:9092<http://192.168.175.128:9092/>
> --producer.config producer-ssl.config --topic otp-email
>
> >[2019-05-03 22:37:34,382] ERROR [Producer clientId=console-producer]
> Connection to node -1 (/192.168.175.128:9092<http://192.168.175.128:9092/>)
> failed authentication due to: SSL handshake failed
> (org.apache.kafka.clients.NetworkClient)
> [2019-05-03 22:37:34,689] ERROR [Producer clientId=console-producer]
> Connection to node -1 (/192.168.175.128:9092<http://192.168.175.128:9092/>)
> failed authentication due to: SSL handshake failed
> (org.apache.kafka.clients.NetworkClient)
>
> Please help us to fix this
>
> if anything changes required in server.properties????
>
> Sent from Outlook<http://aka.ms/weboutlook>
> ________________________________
> From: ASHOK MACHERLA <iash...@outlook.com>
> Sent: 04 May 2019 00:44
> To: users@kafka.apache.org
> Subject: Re: Required guidelines for kafka upgrade
>
> Dear Senthil
>
> Could you please explain clearly
>
> Consumer client properties means ???
>
>
> Where can I set that parameter.
>
> I checked within the Kafka cluster, I pushed some messages and when I
> tried to pulling from same topic, it's not printing any messages
>
> Please tell me senthil.
>
> How can we solve this???
>
> Sent from Outlook
>

Reply via email to