Skip to content

Commit

Permalink
add nullable annotation to FailedRecordTracker.setBackOffFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
chanhyeong authored and garyrussell committed Feb 3, 2022
1 parent 550b718 commit 5728ed7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -98,7 +98,7 @@ class FailedRecordTracker implements RecoveryStrategy {
* @param backOffFunction the function.
* @since 2.6
*/
public void setBackOffFunction(BiFunction<ConsumerRecord<?, ?>, Exception, BackOff> backOffFunction) {
public void setBackOffFunction(@Nullable BiFunction<ConsumerRecord<?, ?>, Exception, BackOff> backOffFunction) {
this.backOffFunction = backOffFunction;
}

Expand Down

0 comments on commit 5728ed7

Please sign in to comment.