Package org.apache.kafka.streams.processor.api
package org.apache.kafka.streams.processor.api
Provides a low-level programming model (Processor API, aka, PAPI) to express a (stateful) data flow computation over input topics.
Use
Topology
as the entry point for your program.-
ClassDescriptionContextualFixedKeyProcessor<KIn,
VIn, VOut> An abstract implementation ofFixedKeyProcessor
that manages theFixedKeyProcessorContext
instance and provides default no-op implementation ofFixedKeyProcessor.close()
.ContextualProcessor<KIn,VIn, KOut, VOut> An abstract implementation ofProcessor
that manages theProcessorContext
instance and provides default no-op implementation ofProcessor.close()
.FixedKeyProcessor<KIn,VIn, VOut> A processor of key-value pair records where keys are immutable.FixedKeyProcessorContext<KForward,VForward> Processor context interface forFixedKeyRecord
.FixedKeyProcessorSupplier<KIn,VIn, VOut> A processor supplier that can create one or moreFixedKeyProcessor
instances.FixedKeyRecord<K,V> A data class representing an incoming record with fixed key for processing in aFixedKeyProcessor
or a record to forward to downstream processors viaFixedKeyProcessorContext
.MockProcessorContext<KForward,VForward> MockProcessorContext
is a mock ofProcessorContext
for users to test theirProcessor
,Transformer
, andValueTransformer
implementations.MockProcessorContext.CapturedPunctuator
holds captured punctuators, along with their scheduling information.Processor context interface.Processor<KIn,VIn, KOut, VOut> A processor of key-value pair records.ProcessorContext<KForward,VForward> Processor context interface forRecord
.ProcessorSupplier<KIn,VIn, KOut, VOut> A processor supplier that can create one or moreProcessor
instances.Record<K,V> A data class representing an incoming record for processing in aProcessor
or a record to forward to downstream processors viaProcessorContext
.