Uses of Class
io.confluent.parallelconsumer.state.WorkContainer
| Package | Description |
|---|---|
| io.confluent.parallelconsumer | |
| io.confluent.parallelconsumer.internal | |
| io.confluent.parallelconsumer.state |
-
Uses of WorkContainer in io.confluent.parallelconsumer
Fields in io.confluent.parallelconsumer declared as WorkContainer Modifier and Type Field Description protected WorkContainer<K,V>RecordContext. workContainerMethods in io.confluent.parallelconsumer that return WorkContainer Modifier and Type Method Description protected WorkContainer<K,V>RecordContext. getWorkContainer()WorkContainer<K,V>RecordContextInternal. getWorkContainer()Methods in io.confluent.parallelconsumer that return types with arguments of type WorkContainer Modifier and Type Method Description List<WorkContainer<K,V>>PollContextInternal. getWorkContainers()Stream<WorkContainer<K,V>>PollContextInternal. streamWorkContainers()Methods in io.confluent.parallelconsumer with parameters of type WorkContainer Modifier and Type Method Description RecordContext.RecordContextBuilder<K,V>RecordContext.RecordContextBuilder. workContainer(WorkContainer<K,V> workContainer)Constructors in io.confluent.parallelconsumer with parameters of type WorkContainer Constructor Description RecordContext(WorkContainer<K,V> wc)RecordContext(WorkContainer<K,V> workContainer, org.apache.kafka.clients.consumer.ConsumerRecord<K,V> consumerRecord)RecordContextInternal(WorkContainer<K,V> wc)Constructor parameters in io.confluent.parallelconsumer with type arguments of type WorkContainer Constructor Description PollContextInternal(List<WorkContainer<K,V>> workContainers) -
Uses of WorkContainer in io.confluent.parallelconsumer.internal
Methods in io.confluent.parallelconsumer.internal with parameters of type WorkContainer Modifier and Type Method Description protected voidAbstractParallelEoSStreamProcessor. addToMailbox(WorkContainer<K,V> wc)protected voidAbstractParallelEoSStreamProcessor. addToMailBoxOnUserFunctionSuccess(WorkContainer<K,V> wc, List<?> resultsFromUserFunction)protected voidExternalEngine. addToMailBoxOnUserFunctionSuccess(WorkContainer<K,V> wc, List<?> resultsFromUserFunction)With Vertx and Reactor, a function hasn't succeeded until the inner vertx function has also succeeded no opprotected voidAbstractParallelEoSStreamProcessor. onUserFunctionSuccess(WorkContainer<K,V> wc, List<?> resultsFromUserFunction)protected voidExternalEngine. onUserFunctionSuccess(WorkContainer<K,V> wc, List<?> resultsFromUserFunction)With Vertx and Reactor, a function hasn't succeeded until the inner vertx function has also succeeded loggingMethod parameters in io.confluent.parallelconsumer.internal with type arguments of type WorkContainer Modifier and Type Method Description protected <R> List<ParallelConsumer.Tuple<org.apache.kafka.clients.consumer.ConsumerRecord<K,V>,R>>AbstractParallelEoSStreamProcessor. runUserFunction(Function<PollContextInternal<K,V>,List<R>> usersFunction, Consumer<R> callback, List<WorkContainer<K,V>> workContainerBatch)Run the supplied function.protected <R> voidAbstractParallelEoSStreamProcessor. submitWorkToPool(Function<PollContextInternal<K,V>,List<R>> usersFunction, Consumer<R> callback, List<WorkContainer<K,V>> workToProcess)Submit a piece of work to the processing pool. -
Uses of WorkContainer in io.confluent.parallelconsumer.state
Methods in io.confluent.parallelconsumer.state that return WorkContainer Modifier and Type Method Description WorkContainer<K,V>ProcessingShard. remove(long offset)Methods in io.confluent.parallelconsumer.state that return types with arguments of type WorkContainer Modifier and Type Method Description NavigableMap<Long,WorkContainer<K,V>>ProcessingShard. getEntries()Map of offset to WorkUnits.List<Consumer<WorkContainer<K,V>>>WorkManager. getSuccessfulWorkListeners()Useful for testingOptional<WorkContainer<K,V>>ProcessingShard. getWorkForOffset(long offset)List<WorkContainer<K,V>>ShardManager. getWorkIfAvailable(int requestedMaxWorkToRetrieve)List<WorkContainer<K,V>>WorkManager. getWorkIfAvailable()Get work with no limit on quantity, useful for testing.List<WorkContainer<K,V>>WorkManager. getWorkIfAvailable(int requestedMaxWorkToRetrieve)Depth first work retrieval.Methods in io.confluent.parallelconsumer.state with parameters of type WorkContainer Modifier and Type Method Description voidPartitionState. addWorkContainer(WorkContainer<K,V> wc)voidPartitionStateManager. addWorkContainer(WorkContainer<K,V> wc)voidProcessingShard. addWorkContainer(WorkContainer<K,V> wc)voidRemovedPartitionState. addWorkContainer(WorkContainer<K,V> wc)voidShardManager. addWorkContainer(WorkContainer<K,V> wc)booleanWorkManager. checkIfWorkIsStale(WorkContainer<K,V> workContainer)Have our partitions been revoked?intWorkContainer. compareTo(WorkContainer o)booleanPartitionStateManager. couldBeTakenAsWork(WorkContainer<?,?> workContainer)voidWorkManager. handleFutureResult(WorkContainer<K,V> wc)booleanPartitionStateManager. isAllowedMoreRecords(WorkContainer<?,?> wc)voidPartitionState. onFailure(WorkContainer<K,V> work)voidPartitionStateManager. onFailure(WorkContainer<K,V> wc)voidShardManager. onFailure(WorkContainer<?,?> wc)Idempotent - work may have not been removed, either way it's put backvoidWorkManager. onFailureResult(WorkContainer<K,V> wc)voidPartitionState. onSuccess(WorkContainer<K,V> work)voidPartitionStateManager. onSuccess(WorkContainer<K,V> wc)voidProcessingShard. onSuccess(WorkContainer<?,?> wc)voidRemovedPartitionState. onSuccess(WorkContainer<K,V> work)voidShardManager. onSuccess(WorkContainer<?,?> wc)voidWorkManager. onSuccessResult(WorkContainer<K,V> wc)Method parameters in io.confluent.parallelconsumer.state with type arguments of type WorkContainer Modifier and Type Method Description booleanWorkManager. checkIfWorkIsStale(List<WorkContainer<K,V>> workContainers)Have our partitions been revoked? Can a batch contain messages of different epochs?