Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4493

Connections to Kafka brokers should be validated

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: clients
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                enether Stanislav Kozlovski
                Reporter:
                ijuma Ismael Juma
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated: