I use Spring KafKa anf I set ackMode to MANUAL_IMMEDIATE
props.setAckMode(AbstractMessageListenerContainer.AckMode.MANUAL_IMMEDIATE);
the scenario is that for some reason my app could not acknowledge (acknowledgment.acknowledge()
) and just miss it without exception.
1- How can I set consumer retry for missed message 2- How configure to call a function after max retry count that I configured reached