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 ofFixedKeyProcessorthat manages theFixedKeyProcessorContextinstance and provides default no-op implementation ofFixedKeyProcessor.close().ContextualProcessor<KIn,VIn, KOut, VOut> An abstract implementation ofProcessorthat manages theProcessorContextinstance 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 moreFixedKeyProcessorinstances.FixedKeyRecord<K,V> A data class representing an incoming record with fixed key for processing in aFixedKeyProcessoror a record to forward to downstream processors viaFixedKeyProcessorContext.MockProcessorContext<KForward,VForward> MockProcessorContextis a mock ofProcessorContextfor users to test theirProcessor,Transformer, andValueTransformerimplementations.MockProcessorContext.CapturedPunctuatorholds 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 moreProcessorinstances.Record<K,V> A data class representing an incoming record for processing in aProcessoror a record to forward to downstream processors viaProcessorContext.