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>
Tue, 20 Feb 2024 09:28:35 +0000 (10:28 +0100)
commitbe27a128b7606623400e5ada1b23e6b19b4644ad
tree33ba4bed728ae09918cba6c3ce13fb56c6d6c22c
parent04c43c6647f6b73c8e10c7af27b58109a0b166a9
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