public static interface PartitionProducerStateProvider.ResponseHandle
Modifier and Type | Method and Description |
---|---|
void |
cancelConsumption()
Cancel the partition consumptions as a result of state check.
|
void |
failConsumption(Throwable cause)
Fail the partition consumptions as a result of state check.
|
ExecutionState |
getConsumerExecutionState() |
Either<ExecutionState,Throwable> |
getProducerExecutionState() |
ExecutionState getConsumerExecutionState()
Either<ExecutionState,Throwable> getProducerExecutionState()
void cancelConsumption()
void failConsumption(Throwable cause)
cause
- failure causeCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.