test: HandoverIT-POC - GREEN: The `TestListener` automatically reconnects backend
authorKai Moritz <kai@juplo.de>
Mon, 11 Mar 2024 17:32:46 +0000 (18:32 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 22 Mar 2024 16:40:17 +0000 (17:40 +0100)
commit31bbbc9858ab6fde12bbe89b28d561e1f4bf3aa4
treeeb5bd3c4a23c42495fb804c8d2bbdd5f56597fa2
parent5c5fa66f4395bafe3cce3b267314ac925e7af5ec
test: HandoverIT-POC - GREEN: The `TestListener` automatically reconnects

* If a rebalance happens, an instances, that is no longer responsible
  for a specific chat-room, closes the connections to listeners of these
  chat-rooms.
* Hence, the `TestListener`, like the real frontend, will have to
  reconnect, if that happens, to be able to see newly send messages.
src/test/java/de/juplo/kafka/chat/backend/TestListener.java