Advanced failure strategies for kafka message consumption #28719
-
It would be nice to be able to use other failure strategies than those currently offered by quarkus kafka: https://quarkus.io/guides/kafka#error-handling). Are there plans to add such strategies, or to enable applications to define their own failure strategies? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
/cc @alesj, @cescoffier, @ozangunalp |
Beta Was this translation helpful? Give feedback.
-
It may be pretty tricky to implement but there is a recent SPI for commit and failure strategies: https://smallrye.io/smallrye-reactive-messaging/3.21.0/kafka/receiving-kafka-records/#custom-commit-and-failure-strategies. I think the latest version of quarkus docs refers to that. |
Beta Was this translation helpful? Give feedback.
It may be pretty tricky to implement but there is a recent SPI for commit and failure strategies: https://smallrye.io/smallrye-reactive-messaging/3.21.0/kafka/receiving-kafka-records/#custom-commit-and-failure-strategies. I think the latest version of quarkus docs refers to that.