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

include error code when logging an error when ack = 0

    Details

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

      Description

      In handleProducerRequest.produceResponseCallback(), we have the following logging.

      "Close connection due to error handling produce request with correlation id %d from client id %s with ack=0".format(

      We should log the error code or exception as well.

        Attachments

          Activity

            People

            • Assignee:
              ijuma Ismael Juma
              Reporter:
              junrao Jun Rao
              Reviewer:
              Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: