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

Ismael Juma commented on KAFKA-4493:
------------------------------------

This is sort of a duplicate of KAFKA-2512 although the solution there seems a 
bit more limited than what is being suggested here.

> 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)

Reply via email to