kafka/server-common/src
Justine Olshan 3cf8745243
MINOR: Add clientTransactionVersion to AddPartitionsToTxn requests and persist the value across transitions (#18086)
We can better keep track of which transactions use TV_2 by storing this information in the clientTransactionVersion field and persisting it across state transitions. Also updated some logging and equality code to include this information.

Added a test to ensure version persists. There aren't many TV2 transitions that don't specify TV, but I did test the InitProducerId + epoch overflow case.

Reviewers: Artem Livshits <alivshits@confluent.io>, Jeff Kim <jeff.kim@confluent.io>
2024-12-10 12:59:01 -08:00
..
main/java/org/apache/kafka MINOR: Add clientTransactionVersion to AddPartitionsToTxn requests and persist the value across transitions (#18086) 2024-12-10 12:59:01 -08:00
test KAFKA-18052: Decouple the dependency of feature stable version to the metadata version (#17886) 2024-12-05 11:07:47 -08:00