Package org.apache.kafka.streams.processor
-
Interface Summary Interface Description BatchingStateRestoreCallback Interface for batching restoration of aStateStoreIt is expected that implementations of this class will not call theStateRestoreCallback.restore(byte[], byte[])method.Cancellable Cancellable interface returned inProcessorContext.schedule(long, PunctuationType, Punctuator).PartitionGrouper A partition grouper that generates partition groups given the list of topic-partitions.Processor<K,V> A processor of key-value pair records.ProcessorContext Processor context interface.ProcessorSupplier<K,V> A processor supplier that can create one or moreProcessorinstances.Punctuator A functional interface used as an argument toProcessorContext.schedule(long, PunctuationType, Punctuator).StateRestoreCallback Restoration logic for log-backed state stores upon restart, it takes one record at a time from the logs to apply to the restoring state.StateRestoreListener Class for listening to various states of the restoration process of a StateStore.StateStore A storage engine for managing state maintained by a stream processor.StateStoreSupplier<T extends StateStore> Deprecated. useStoreSupplierStreamPartitioner<K,V> Determine how records are distributed among the partitions in a Kafka topic.TimestampExtractor An interface that allows the Kafka Streams framework to extract a timestamp from an instance ofConsumerRecord. -
Class Summary Class Description AbstractNotifyingBatchingRestoreCallback Abstract implementation of theBatchingStateRestoreCallbackused for batch restoration operations.AbstractNotifyingRestoreCallback Abstract implementation of theStateRestoreCallbackused for batch restoration operations.AbstractProcessor<K,V> An abstract implementation ofProcessorthat manages theProcessorContextinstance and provides default no-op implementations ofAbstractProcessor.punctuate(long)andAbstractProcessor.close().DefaultPartitionGrouper Default implementation of thePartitionGrouperinterface that groups partitions by the partition id.FailOnInvalidTimestamp Retrieves embedded metadata timestamps from Kafka messages.LogAndSkipOnInvalidTimestamp Retrieves embedded metadata timestamps from Kafka messages.TaskId The task ID representation composed as topic group ID plus the assigned partition ID.TaskMetadata Represents the state of a single task running within aKafkaStreamsapplication.ThreadMetadata Represents the state of a single thread running within aKafkaStreamsapplication.TopologyBuilder Deprecated. useTopologyinsteadTopologyBuilder.TopicsInfo NOTE this class would not needed by developers working with the processor APIs, but only used for internal functionalities.UsePreviousTimeOnInvalidTimestamp Retrieves embedded metadata timestamps from Kafka messages.WallclockTimestampExtractor Retrieves current wall clock timestamps asSystem.currentTimeMillis(). -
Enum Summary Enum Description PunctuationType Controls what notion of time is used for punctuation scheduled viaProcessorContext.schedule(long, PunctuationType, Punctuator)schedule}: STREAM_TIME - uses "stream time", which is advanced by the processing of messages in accordance with the timestamp as extracted by theTimestampExtractorin use.TopologyBuilder.AutoOffsetReset