Re: MirrorMaker2 ordering guarantees

2020-04-28 Thread Péter Sinóros-Szabó
Hey, so I was just about to set `max.in.flight.requests.per.connection=1` when I found in the logs that it is already set for the "destination" producers :) Cool. Duplicates are fine for me, we have dedup checks or immutable operations on the consumers. Have a nice day! Peter On Mon, 27 Apr 202

Re: MirrorMaker2 ordering guarantees

2020-04-27 Thread Ryanne Dolan
> Could the `max.in.flight.requests.per.connection=1` parameter help to > prevent the "slightly out-of-order records"? Yes that helps, but dupes are still possible when MM2 restarts or rebalances, since it will restart at the latest commit. If you are replicating something like CDC or changelogs,

Re: MirrorMaker2 ordering guarantees

2020-04-27 Thread Péter Sinóros-Szabó
Hey Ryanne, Is there any documentation where I can read more about this "slightly out-of-order records"? It would help very much to see how we can use MM2 in our systems. Thanks, Peter On Thu, 23 Apr 2020 at 08:56, Péter Sinóros-Szabó < peter.sinoros-sz...@transferwise.com> wrote: > Hey Ryanna,

Re: MirrorMaker2 ordering guarantees

2020-04-22 Thread Péter Sinóros-Szabó
Hey Ryanna, Could the `max.in.flight.requests.per.connection=1` parameter help to prevent the "slightly out-of-order records"? Or is there any workaround for that? Duplicates are fine for me, but I'd like to have the same order of messages too. Can you please add some more detail about why those "

Re: MirrorMaker2 ordering guarantees

2020-04-22 Thread Ryanne Dolan
Hey Peter, Connect will need to support transactions before we can guarantee the order of records in remote topics. We can guarantee that no records are dropped or skipped, even during consumer failover/migration etc, but we can still have duplicates and slightly out-of-order records in the downstr

MirrorMaker2 ordering guarantees

2020-04-22 Thread Péter Sinóros-Szabó
Hey, so KIP-382 mentions that: "Partitioning and order of records is preserved between source and remote topics." is the ordering of messages (I guess only in a partition) something that is actually implemented in 2.4 (or in 2.5)? Or do I need to set `max.in.flight.requests.per.connection=1` ? T