Open matthiasValuecloud opened 3 months ago
@matthiasValuecloud This is not a bug, but something we never added as a feature for non-blocking retries with async KafkaListener
methods. We can try to make it in before the next releases, but any PR contributions are welcome. Thanks!
Well i can try, but i am really not comfortable around such a huge project and how to contribute properly. I will read through the guidelines and see what i can do :D
@matthiasValuecloud Sounds good. Please let us know if you end up working on it. Here are the contribution guidelines: https://github.com/spring-projects/spring-kafka/blob/main/CONTRIBUTING.adoc.
Haven't had the chance on working on it so far. I apologize.
Moving to Backlog since we haven't have a chance to look into this.
In what version(s) of Spring for Apache Kafka are you seeing this issue?
3.2.0
Describe the bug
When using the
@RetryableTopic
annotation on a Listener that returns aCompletableFuture
, no retry or dlt events are sent when theCompletableFuture
completes with an exception.To Reproduce
Expected behavior
A
CompletableFuture
, which results in an exception, should be retried with the given properties and marked for ack on my-topic.