Skip to content

Commit

Permalink
Fixes compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
chickenchickenlove committed Oct 10, 2024
1 parent 08e7721 commit c0fea39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ private boolean rawByParameterIsType(Type parameterType, Type type) {
return parameterType instanceof ParameterizedType pType && pType.getRawType().equals(type);
}

protected void setCallbackForAsyncFailure(BiConsumer<ConsumerRecord<K, V>, RuntimeException> asyncRetryCallback) {
protected void setAsyncFailureCallback(BiConsumer<ConsumerRecord<K, V>, RuntimeException> asyncRetryCallback) {
this.callbackForAsyncFailureQueue = asyncRetryCallback;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ public void onMessage(ConsumerRecord<K, V> record, @Nullable Acknowledgment ackn
@Override
public void setCallbackForAsyncFailure(
BiConsumer<ConsumerRecord<K, V>, RuntimeException> asyncRetryCallback) {
super.setCallbackForAsyncFailure(asyncRetryCallback);
setAsyncFailureCallback(asyncRetryCallback);
}
}

0 comments on commit c0fea39

Please sign in to comment.