Using onErrorResume to handle problematic payloads posted to Kafka using Reactor Kafka
问题 I am using reactor kafka to send in kafka messages and receive and process them. While receiving the kakfa payload, I do some deserialization, and if there is an exception, I want to just log that payload ( by saving to mongo ), and then continue receiving other payloads. For this I am using the below approach - @EventListener(ApplicationStartedEvent.class) public void kafkaReceiving() { for(Flux<ReceiverRecord<String, Object>> flux: kafkaService.getFluxReceives()) { flux.delayUntil(//some