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

SyncProducer sends messages to invalid partitions without complaint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 0.6
    • None
    • None
    • None
    • Mac OSX 10.6.7

    Description

      The SyncProducer class will send messages to invalid partitions without throwing an exception or otherwise alerting the user.

      Reproduction:
      Run the kafka-simple-consumer-shell.sh script with an invalid partition number. An exception will be thrown and displayed. Run the kafka-producer-shell.sh with the same partition number. You will be able to send messages without any errors.

      Attachments

        Issue Links

          Activity

            People

              dpnchl Dru Panchal
              hermanjl Jonathan Herman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified