I am using spring-kafka RetryableTopic for non-blocking retries with a fixed BackOff and a single retry topic.
I noticed that if I use more than 127 attempts the retry never stops and also if I use this header:
@Header(name = RetryTopicHeaders.DEFAULT_HEADER_ATTEMPTS, required = false) int attempt
It overflows to 0 after 127.
I couldn't find any limit for max_retries in spring-kafka documentation, but in the source code I see that it takes only first byte.
Is it a bug or feature? Are there plans to support max_attempts more than 127?