@Internal
public interface KafkaCommitCallback
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onException(Throwable cause)
A callback method the user can implement to provide asynchronous handling of commit request
failure.
|
void |
onSuccess()
A callback method the user can implement to provide asynchronous handling of commit request
completion.
|
void onSuccess()
void onException(Throwable cause)
cause - Kafka commit failure cause returned by kafka clientCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.