From 59c8e2b25c9233968421aa6a04d6f6b6a1a0bd3e Mon Sep 17 00:00:00 2001 From: pierre-maraval Date: Tue, 31 Oct 2023 14:21:07 +0100 Subject: [PATCH] FIX : Correction double envoi sur topic withPpn --- src/main/java/fr/abes/bestppn/kafka/TopicConsumer.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/fr/abes/bestppn/kafka/TopicConsumer.java b/src/main/java/fr/abes/bestppn/kafka/TopicConsumer.java index d8540fd..3166837 100644 --- a/src/main/java/fr/abes/bestppn/kafka/TopicConsumer.java +++ b/src/main/java/fr/abes/bestppn/kafka/TopicConsumer.java @@ -138,7 +138,6 @@ public void listenKbartFromKafka(ConsumerRecord lignesKbart) thr case BEST_PPN_BACON -> { ligneFromKafka.setBestPpn(ppnWithDestinationDto.getPpn()); executionReport.addNbBestPpnFind(); - kbartToSend.add(ligneFromKafka); } case PRINT_PPN_SUDOC -> { LigneKbartImprime ligne = LigneKbartImprime.newBuilder()