From: Kai Moritz Date: Sun, 25 Feb 2024 19:42:59 +0000 (+0100) Subject: WIP:FIX X-Git-Tag: rebase--2024-02-26--19-46~6 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=e09dd4e4fb991a1b773f80845c38de169effe730;p=demos%2Fkafka%2Fchat WIP:FIX --- diff --git a/src/test/java/de/juplo/kafka/chat/backend/KafkaHandoverIT.java b/src/test/java/de/juplo/kafka/chat/backend/KafkaHandoverIT.java index cc5039ed..e6819979 100644 --- a/src/test/java/de/juplo/kafka/chat/backend/KafkaHandoverIT.java +++ b/src/test/java/de/juplo/kafka/chat/backend/KafkaHandoverIT.java @@ -45,7 +45,7 @@ class KafkaHandoverIT extends AbstractHandoverIT .forEach(result -> log.info("{}", result)); Thread.sleep(10000); - receiveMessage(chatRoom).subscribe(message -> log.info("message: {}", message)); + receiveMessages(chatRoom).subscribe(message -> log.info("message: {}", message)); Thread.sleep(1000000); } @@ -99,12 +99,12 @@ class KafkaHandoverIT extends AbstractHandoverIT }); } - Flux receiveMessage(ChatRoomInfoTo chatRoom) + Flux receiveMessages(ChatRoomInfoTo chatRoom) { return webClient .get() .uri( - "/{chatRoomId}", + "/{chatRoomId}/listen", chatRoom.getId()) .accept(MediaType.APPLICATION_OCTET_STREAM) .retrieve()