My application create with SpringBoot and is in cluster (two different istance openshit) Every istance has one consumer that read message of topic in replication factory.
I would like to find a mechanism to block the reading of a message into topic in replication factory if it has already been read by one of the two consumers
Example:
CONSUMER CLIENT A -- READ MSG_1 --> BROKER_1 - Offset increase - Commit OK
CONSUMER CLIENT B --> NOT READ MSG_1 --> BROKER_1 -- Correct beacause already commit
Now BROKER_1 is show and new lead is BROKER_2
How can I block the already read message into BROKER_2?
Thanks all!
Giuseppe.