Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4815 Idempotent/transactional Producer (KIP-98)
  3. KAFKA-5308

TC should handle UNSUPPORTED_FOR_MESSAGE_FORMAT in WriteTxnMarker response

    XMLWordPrintableJSON

Details

    Description

      It could be the case that one of the topics added to a transaction is on a lower message format version. Because of https://github.com/apache/kafka/pull/3118, the producer won't be able to send any data to that topic, but the TC will nevertheless try to write the commit/abort marker to the log. Like the Produce request, the WriteTxnMarker request should return the UNSUPPORTED_FOR_MESSSAGE_FORMAT error. Instead of retrying, we should log a warning and remove the partition from the set of partitions awaiting marker completion.

      Attachments

        Issue Links

          Activity

            People

              damianguy Damian Guy
              hachikuji Jason Gustafson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: