[ https://issues.apache.org/jira/browse/KAFKA-4493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15725713#comment-15725713 ]
Gérald Quintana commented on KAFKA-4493: ---------------------------------------- See also KAFKA-4491 > Connections to Kafka brokers should be validated > ------------------------------------------------ > > Key: KAFKA-4493 > URL: https://issues.apache.org/jira/browse/KAFKA-4493 > Project: Kafka > Issue Type: Improvement > Reporter: Ismael Juma > > There have been a few reports of Kafka clients throwing an OOM because they > read 4 bytes from the stream and then use that to allocate a ByteBuffer > without validating that they are using the right security protocol or even > communicating with a Kafka broker. > It would be good to perform some validation in order to show a useful error > message to the user instead of the OOM. -- This message was sent by Atlassian JIRA (v6.3.4#6332)