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

Improve error message in the producer when sending data to a partition without an active leader

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: producer
    • Labels:
      None

      Description

      We log a very cryptic message when the producer tries to send data to a partition that doesn't have a leader at that moment -

      Failed to send to broker -1 with data Map([PageViewEventByGroupJson,8]

      Let's improve this to log a better error message

        Attachments

        1. kafka-707.patch
          0.9 kB
          Neha Narkhede

          Activity

            People

            • Assignee:
              nehanarkhede Neha Narkhede
              Reporter:
              nehanarkhede Neha Narkhede
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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