Hi Artur, Thanks for the question!
In transactions there's no distinction between partitions within the same topic and partitions in different topics. You can have transactions across multiple topics, and multiple partitions in those topics. Hope this is more clear, Greg On Fri, Oct 25, 2024 at 5:11 AM Artur Bondek <artur.bon...@zowie.ai> wrote: > Hi, > > I would like to ask about the kafka producer transaction. Documentation > states (https://kafka.apache.org/documentation/#semantics): > Also beginning with 0.11.0.0, *the producer supports the ability to send > messages to multiple topic partitions* using transaction-like semantics: > i.e. either all messages are successfully written or none of them are. > > Does it mean that the producer supports transactions in multiple topics > (and multiple partitions)? Or it's just for multiple partitions but within > a single topic? > > Artur Bondek >