with spring, there is a default retryTemplate
bundled with kafka consumer, which would retry 3 times for all exceptions encountered.
To customize the retry policy, this could be configured in the `containerFactory`
//this is deprecated in newer version of spring in favor of error handler
factory.setRetryTemplate(....);
