Interface KafkaCommitCallback
Deprecated.
A callback interface that the source operator can implement to trigger custom actions when a
commit request completes, which should normally be triggered from checkpoint complete event.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonException(Throwable cause) Deprecated.A callback method the user can implement to provide asynchronous handling of commit request failure.voidDeprecated.A callback method the user can implement to provide asynchronous handling of commit request completion.
-
Method Details
-
onSuccess
void onSuccess()Deprecated.A callback method the user can implement to provide asynchronous handling of commit request completion. This method will be called when the commit request sent to the server has been acknowledged without error. -
onException
Deprecated.A callback method the user can implement to provide asynchronous handling of commit request failure. This method will be called when the commit request failed.- Parameters:
cause- Kafka commit failure cause returned by kafka client
-