Re: When using MM2, how should the consumer be switched from source to target?

2021-01-13 Thread Aki Yoshida
Hi Ning, I mean by "when there are some messages left in the original cluster", when the consumer switches from the original cluster to the new cluster before entirely consuming the messages at the original cluster. This commit illustrates this situation. https://github.com/elakito/kafka/commit/906

NullPointerException after upgrading from 2.5.1 to 2.6.1 in my stream app

2021-01-13 Thread Nitay Kufert
Hey, *Without any code change*, just by bumping the kafka version from 2.5.1 to 2.6.1 (clients only) - my stream application started throwing NullPointerException (sometimes, not in a predicted pattern). Maybe it's worth mentioning that I also removed the "UPGRADE_FROM" conf that was forgotten ther

Re: When using MM2, how should the consumer be switched from source to target?

2021-01-13 Thread Ning Zhang
hello Aki, I guess overall you are right. When the consumer have not finish consuming the latest message from primary and switch to the backup, the left messages will be still replicated from primary to backup by MM, so your consumer will still be able to consume the left messages at backup,