Hello SmallRye Team,
I am currently working on a project involving Kafka, and I've encountered a challenge that I believe your expertise can help with. In our application, we need to implement a mechanism to endlessly retry Kafka messages when facing specific exceptions, like database downtimes or receiving 500 errors from a service. This issue could potentially last for extended periods, and it's critical to manage our memory usage to avoid exceeding limits. Therefore, we need to ensure that the number of messages being processed at any given time is capped.
Could you advise on how we can achieve this within the SmallRye framework? Your insights on this matter would be highly valuable.
Thank you for your assistance!