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

Can't append to a topic/partition that does not already exist

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: clients
    • Labels:
      None

      Description

      With a totally fresh Kafka (empty logs dir and empty ZK), if I send a ProduceRequest for a new topic, Kafka responds with "kafka.common.UnknownTopicOrPartitionException: Topic test partition 0 doesn't exist on 0". This is when sending a ProduceRequest over the network (from Python, in this case).

      If I use the console producer it works fine (topic and partition get created). If I then send the same payload from before over the network, it works.

        Attachments

        1. produce-payload.bin
          0.1 kB
          David Arthur
        2. kafka.log
          53 kB
          David Arthur

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mumrah David Arthur
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: