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

Getting TimeoutException in Kafka Producer when using batch size 0

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I am getting below exception in Kafka Producer when using batch size as 0.

      My message size is 100 bytes. I am sending message continuously on mytopic.

      org.apache.kafka.common.errors.TimeoutException: Expiring 1 record(s) for mytopic: 30001 ms has passed since last append

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bansalp Pradeep Bansal
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: