kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ismael Juma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-4493) Connections to Kafka brokers should be validated
Date Tue, 06 Dec 2016 12:19:59 GMT

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

Mime
View raw message