Class SubscriptionJoinForeignProcessorSupplier<K,KO,VO>
- java.lang.Object
-
- org.apache.kafka.streams.kstream.internals.foreignkeyjoin.SubscriptionJoinForeignProcessorSupplier<K,KO,VO>
-
- Type Parameters:
K- Type of primary keysKO- Type of foreign keyVO- Type of foreign value
- All Implemented Interfaces:
ConnectedStoreProvider,ProcessorSupplier<CombinedKey<KO,K>,Change<ValueAndTimestamp<SubscriptionWrapper<K>>>>
public class SubscriptionJoinForeignProcessorSupplier<K,KO,VO> extends java.lang.Object implements ProcessorSupplier<CombinedKey<KO,K>,Change<ValueAndTimestamp<SubscriptionWrapper<K>>>>
ReceivesSubscriptionWrapper<K>events and processes them according to their Instruction. Depending on the results,SubscriptionResponseWrappers are created, which will be propagated to theSubscriptionResolverJoinProcessorSupplierinstance.
-
-
Constructor Summary
Constructors Constructor Description SubscriptionJoinForeignProcessorSupplier(KTableValueGetterSupplier<KO,VO> foreignValueGetterSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Processor<CombinedKey<KO,K>,Change<ValueAndTimestamp<SubscriptionWrapper<K>>>>get()Return a newProcessorinstance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.kafka.streams.processor.ConnectedStoreProvider
stores
-
-
-
-
Constructor Detail
-
SubscriptionJoinForeignProcessorSupplier
public SubscriptionJoinForeignProcessorSupplier(KTableValueGetterSupplier<KO,VO> foreignValueGetterSupplier)
-
-
Method Detail
-
get
public Processor<CombinedKey<KO,K>,Change<ValueAndTimestamp<SubscriptionWrapper<K>>>> get()
Description copied from interface:ProcessorSupplierReturn a newProcessorinstance.- Specified by:
getin interfaceProcessorSupplier<K,KO>- Returns:
- a new
Processorinstance
-
-