You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Vanshul.Chawla" <Va...@target.com> on 2016/03/31 15:10:55 UTC

Kafka producer ssl error

Hello,

I am getting below error when I connect to kafka 0.9 over ssl.

[-network-thread | tcomil-audit] NetworkClient                  WARN  Error while fetching metadata with correlation id 0 : {tcomil-audit-log=UNKNOWN}
[-network-thread | tcomil-audit] NetworkClient                  WARN  Error while fetching metadata with correlation id 1 : {tcomil-audit-log=UNKNOWN}
[-network-thread | tcomil-audit] NetworkClient                  WARN  Error while fetching metadata with correlation id 2 : {tcomil-audit-log=UNKNOWN}
[-network-thread | tcomil-audit] NetworkClient                  WARN  Error while fetching metadata with correlation id 3 : {tcomil-audit-log=UNKNOWN}
[-network-thread | tcomil-audit] NetworkClient                  WARN  Error while fetching metadata with correlation id 4 : {tcomil-audit-log=UNKNOWN}
[-network-thread | tcomil-audit] NetworkClient                  WARN  Error while fetching metadata with correlation id 5 : {tcomil-audit-log=UNKNOWN}
[-network-thread | tcomil-audit] NetworkClient                  WARN  Error while fetching metadata with correlation id 6 : {tcomil-audit-log=UNKNOWN}
[-network-thread | tcomil-audit] NetworkClient                  WARN  Error while fetching metadata with correlation id 7 : {tcomil-audit-log=UNKNOWN}
[-network-thread | tcomil-audit] NetworkClient                  WARN  Error while fetching metadata with correlation id 8 : {tcomil-audit-log=UNKNOWN}
[-network-thread | tcomil-audit] NetworkClient                  WARN  Error while fetching metadata with correlation id 9 : {tcomil-audit-log=UNKNOWN}

My topic was created on broker and I can access it using 9092(non ssl port). When we used ACL entries for topic, I started getting this error.

Any issues in settings etc.

Vanshul

RE: Kafka producer ssl error

Posted by "Vanshul.Chawla" <Va...@target.com>.
Yeah thought so. Sent an email to our kafka folks as I tries same code on local kafka setup and it worked fine.

Thanks Gerard.

Vanshul

-----Original Message-----
From: Gerard Klijs [mailto:gerard.klijs@dizzit.com] 
Sent: Thursday, March 31, 2016 8:33 AM
To: users@camel.apache.org
Subject: Re: Kafka producer ssl error

Seems more like a kafka issue. Did you set the correct super user for the broker? There are a lot of things which can go wrong when going from non-ssl connections to ssl-connection and using the acl, so start by using ssl first, and ACL later. This way you better know where to look when you encounter problems.

On Thu, Mar 31, 2016 at 3:17 PM Vanshul.Chawla <Va...@target.com>
wrote:

> Hello,
>
> I am getting below error when I connect to kafka 0.9 over ssl.
>
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 0 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 1 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 2 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 3 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 4 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 5 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 6 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 7 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 8 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 9 :
> {tcomil-audit-log=UNKNOWN}
>
> My topic was created on broker and I can access it using 9092(non ssl 
> port). When we used ACL entries for topic, I started getting this error.
>
> Any issues in settings etc.
>
> Vanshul
>

Re: Kafka producer ssl error

Posted by Gerard Klijs <ge...@dizzit.com>.
Seems more like a kafka issue. Did you set the correct super user for the
broker? There are a lot of things which can go wrong when going from
non-ssl connections to ssl-connection and using the acl, so start by using
ssl first, and ACL later. This way you better know where to look when you
encounter problems.

On Thu, Mar 31, 2016 at 3:17 PM Vanshul.Chawla <Va...@target.com>
wrote:

> Hello,
>
> I am getting below error when I connect to kafka 0.9 over ssl.
>
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 0 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 1 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 2 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 3 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 4 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 5 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 6 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 7 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 8 :
> {tcomil-audit-log=UNKNOWN}
> [-network-thread | tcomil-audit] NetworkClient                  WARN
> Error while fetching metadata with correlation id 9 :
> {tcomil-audit-log=UNKNOWN}
>
> My topic was created on broker and I can access it using 9092(non ssl
> port). When we used ACL entries for topic, I started getting this error.
>
> Any issues in settings etc.
>
> Vanshul
>