Kafka
  1. Kafka
  2. KAFKA-196

Topic creation fails on large values

    Details

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

      Description

      Since topic logs are stored in a directory holding the topic's name, creation of the directory might fail for large strings.
      This is not a problem per-se but the exception thrown is rather cryptic and hard to figure out for operations.

      I propose fixing this temporarily with a hard limit of 200 chars for topic names, it would also be possible to hash the topic name.

      Another concern is that the exception raised stops the broker, effectively creating a simple DoS vector, I'm concerned about how tests or wrong client library usage can take down the whole broker.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Pierre-Yves Ritschard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development