fix: Errors during shard-publishing should not kill the instance
[demos/kafka/chat] / src / main / java / de / juplo / kafka / chat / backend / implementation / kafka / ConsumerTaskRunner.java
index 983ebd3..c2c2801 100644 (file)
@@ -21,7 +21,7 @@ public class ConsumerTaskRunner
   public void joinConsumerTasks() throws InterruptedException
   {
     dataChannelConsumerTaskExecutor.joinConsumerTaskJob();
-    while (infoChannel.loadInProgress())
+    while (infoChannel.isLoadInProgress())
     {
       log.info("Waiting for {} to finish loading...", infoChannel);
       Thread.sleep(1000);