[ 
https://issues.apache.org/jira/browse/KAFKA-8154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17163344#comment-17163344
 ] 

Paul Webb commented on KAFKA-8154:
----------------------------------

Hi.  Please note that we were recently affected by this issue.  I tried several 
kafka clients/ brokers and JDKs. The actual cause in the end was that the java 
security providers was being changed.  Specifically:
{code:java}
 Security.insertProviderAt(providerToAdd, 1);
{code}
By adding at position 1, it appeared that the new provider was returning an 
invalid application buffer size. This may explain why this could be difficult 
to reproduce.  When the new provider is added to the back of the list Kafka 
behaved fine. 

Hope this helps. 

 

> Buffer Overflow exceptions between brokers and with clients
> -----------------------------------------------------------
>
>                 Key: KAFKA-8154
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8154
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 2.1.0
>            Reporter: Rajesh Nataraja
>            Priority: Major
>         Attachments: server.properties.txt
>
>
> https://github.com/apache/kafka/pull/6495
> https://github.com/apache/kafka/pull/5785



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to