I am trying to implement simple service that pulls messages from kafka wraps them in some data and sends to external service.
What is the common pattern for handling external service unavailabilty when processing message?
So far I am manually commiting messages only when the request to external service was sucesfully. I would like kafka to resend message after some time if it was not committetd so that handling external service failure was transparent to the consumer. I could not find a way to do that though. I am however curious if I am not doing some anti-pattern and there is better solution.