Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-8334

Eventroute: the Kafka sink uses a message version that stops working in Kafka 4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • Logging 6.4.1
    • Log Collection
    • None
    • Incidents & Support
    • False
    • Hide

      None

      Show
      None
    • False
    • NEW
    • NEW
    • Bug Fix

      Description of problem:

      I noticed that the version of the lib sarama is 1.23.1 (2019-07-22), which by default uses a message format version that is no longer supported in Kafka 4 So, as it is now, sending to a Kafka 4.1 generates the following errors:

      2025-12-17 13:00:24 ERROR [data-plane-kafka-network-thread-1-PLAIN-9092-PLAINTEXT-4] Processor:79 - Closing socket for 10.0.1.2:9092-10.129.2.17:53764-4-834 because of error org.apache.kafka.common.errors.UnsupportedVersionException: Received request for api with key 0 (Produce) and unsupported version 0 2025-12-17 13:00:24 ERROR [data-plane-kafka-network-thread-1-PLAIN-9092-PLAINTEXT-4] Processor:79 - Exception while processing request from 10.0.1.2:9092-10.0.1.20:53764-4-834 org.apache.kafka.common.errors.UnsupportedVersionException: Received request for api with key 0 (Produce) and unsupported version 0 2025-12-17 13:00:24 ERROR [data-plane-kafka-network-thread-1-PLAIN-9092-PLAINTEXT-5] Processor:79 - Closing socket for 10.0.1.2:9092-10.0.1.20:53774-5-834 because of error org.apache.kafka.common.errors.UnsupportedVersionException: Received request for api with key 0 (Produce) and unsupported version 0

      Version-Release number of selected component (if applicable):

      all

      How reproducible:

      Use Kafka4 as kafka sink

      Steps to Reproduce:

      1. Configure event router against a Kafka4

      Actual results:

      Event router does not sent events to kafka

      Expected results:

      Event router does sending events to kafka

      Additional info:

              Unassigned Unassigned
              rhn-support-jortizpa Jose Ortiz Padilla
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: