fix: The actual position has to be requested from the consumer
authorKai Moritz <kai@juplo.de>
Sun, 24 Sep 2023 19:39:01 +0000 (21:39 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 24 Sep 2023 19:39:01 +0000 (21:39 +0200)
commit63d98ab2b1aa2c2c2be3b48b3049faac11ead3df
tree17ab8ac23b517946a699b77479ba09ad3c62b220
parent0476220457e8c5f3d1845cacfef39ba4f91e5db6
fix: The actual position has to be requested from the consumer

* If the last seen offset and the current offset differ, although the
  partition did not contain any messages between this offsets, the loading
  process got stuck, because the position never advanced.
* Therefore, the actual position, that is compared against the read
  end-offset, has to be requested from the consumer.
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/DataChannel.java