You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Rajini Sivaram <ra...@googlemail.com> on 2015/10/19 22:57:50 UTC
SendFailedException in new consumer when run with SSL
When running new consumer with SSL, debug logs show these exceptions every
time:
Thank you...
Regards,
Rajini
Re: SendFailedException in new consumer when run with SSL
Posted by Rajini Sivaram <ra...@googlemail.com>.
Ismael,
Thank you, have opened https://issues.apache.org/jira/browse/KAFKA-2672.
Regards,
Rajini
On Mon, Oct 19, 2015 at 10:30 PM, Ismael Juma <is...@gmail.com> wrote:
> I haven't looked at the code, but please file an issue so that we can
> investigate this. It looks like Fetcher is not using NetworkClient
> correctly.
>
> Ismael
> On 19 Oct 2015 22:02, "Rajini Sivaram" <ra...@googlemail.com>
> wrote:
>
> > Oops, pressed wrong button...
> >
> > When running new consumer with SSL, debug logs show these exceptions
> every
> > time:
> >
> > [2015-10-19 20:57:43,389] DEBUG Fetch failed
> > (org.apache.kafka.clients.consumer.internals.Fetcher)
> > org.apache.kafka.clients.consumer.internals.SendFailedException
> >
> >
> > The exception occurs because send is queued before SSL handshake is
> > complete. A couple of questions:
> >
> > 1. Is the exception harmless?
> > 2. Can it be avoided since it feels like an exception that exists to
> > handle edge cases like buffer overflow rather than something in a
> normal
> > code path.
> >
> >
> >
> > Thank you...
> >
> > Regards,
> >
> > Rajini
> >
>
Re: SendFailedException in new consumer when run with SSL
Posted by Ismael Juma <is...@gmail.com>.
I haven't looked at the code, but please file an issue so that we can
investigate this. It looks like Fetcher is not using NetworkClient
correctly.
Ismael
On 19 Oct 2015 22:02, "Rajini Sivaram" <ra...@googlemail.com> wrote:
> Oops, pressed wrong button...
>
> When running new consumer with SSL, debug logs show these exceptions every
> time:
>
> [2015-10-19 20:57:43,389] DEBUG Fetch failed
> (org.apache.kafka.clients.consumer.internals.Fetcher)
> org.apache.kafka.clients.consumer.internals.SendFailedException
>
>
> The exception occurs because send is queued before SSL handshake is
> complete. A couple of questions:
>
> 1. Is the exception harmless?
> 2. Can it be avoided since it feels like an exception that exists to
> handle edge cases like buffer overflow rather than something in a normal
> code path.
>
>
>
> Thank you...
>
> Regards,
>
> Rajini
>
Re: SendFailedException in new consumer when run with SSL
Posted by Rajini Sivaram <ra...@googlemail.com>.
Oops, pressed wrong button...
When running new consumer with SSL, debug logs show these exceptions every
time:
[2015-10-19 20:57:43,389] DEBUG Fetch failed
(org.apache.kafka.clients.consumer.internals.Fetcher)
org.apache.kafka.clients.consumer.internals.SendFailedException
The exception occurs because send is queued before SSL handshake is
complete. A couple of questions:
1. Is the exception harmless?
2. Can it be avoided since it feels like an exception that exists to
handle edge cases like buffer overflow rather than something in a normal
code path.
Thank you...
Regards,
Rajini
Re: SendFailedException in new consumer when run with SSL
Posted by Jun Rao <ju...@confluent.io>.
I don't see the debug log. Apache email sometimes removes attachments. So,
perhaps you can file a jira and include the logs there.
Thanks,
Jun
On Mon, Oct 19, 2015 at 1:57 PM, Rajini Sivaram <
rajinisivaram@googlemail.com> wrote:
> When running new consumer with SSL, debug logs show these exceptions every
> time:
>
>
>
> Thank you...
>
> Regards,
>
> Rajini
>