You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2016/12/06 11:49:58 UTC

[jira] [Created] (KAFKA-4493) Connections to Kafka brokers should be validated

Ismael Juma created KAFKA-4493:
----------------------------------

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