diff --git a/spring-kafka/src/main/java/org/springframework/kafka/listener/FailedRecordTracker.java b/spring-kafka/src/main/java/org/springframework/kafka/listener/FailedRecordTracker.java index 86797ad98a..bfbe435b13 100644 --- a/spring-kafka/src/main/java/org/springframework/kafka/listener/FailedRecordTracker.java +++ b/spring-kafka/src/main/java/org/springframework/kafka/listener/FailedRecordTracker.java @@ -150,7 +150,7 @@ public void setRetryListeners(RetryListener... listeners) { this.retryListeners.addAll(Arrays.asList(listeners)); } - protected List getRetryListeners() { + List getRetryListeners() { return this.retryListeners; }