public interface PulsarCommitCallback
| Modifier and Type | Method and Description |
|---|---|
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 - pulsar commit failure cause returned by pulsar clientCopyright © 2019–2021 The Apache Software Foundation. All rights reserved.