ableegoldman commented on a change in pull request #10675: URL: https://github.com/apache/kafka/pull/10675#discussion_r633185500
########## File path: streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamsProducer.java ########## @@ -237,13 +237,15 @@ private static boolean isRecoverable(final KafkaException uncaughtException) { * @throws TaskMigratedException */ protected void commitTransaction(final Map<TopicPartition, OffsetAndMetadata> offsets, - final ConsumerGroupMetadata consumerGroupMetadata) { + final ConsumerGroupMetadata consumerGroupMetadata) { if (!eosEnabled()) { throw new IllegalStateException(formatException("Exactly-once is not enabled")); } maybeBeginTransaction(); try { - producer.sendOffsetsToTransaction(offsets, consumerGroupMetadata); + // Older brokers don't understand any group metadata beyond the group id, thus we must downgrade the request for eos-v1 Review comment: Ack -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org