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

improve error logging in ReplicaFetchThread with oversized message

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0.1
    • Fix Version/s: 0.10.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently, the follower will log the following if it encounters an oversized message. It would be useful to include the affected topic/partition in the log.

      Replication is failing due to a message that is greater than replica.fetch.max.bytes. This " +
      "generally occurs when the max.message.bytes has been overridden to exceed this value and a suitably large " +
      "message has also been sent. To fix this problem increase replica.fetch.max.bytes in your broker config to be " +
      "equal or larger than your settings for max.message.bytes, both at a broker and topic level.

        Attachments

          Activity

            People

            • Assignee:
              omkreddy Manikumar
              Reporter:
              junrao Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: