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 Object implements ProcessorSupplier<CombinedKey<KO,K>,Change<ValueAndTimestamp<SubscriptionWrapper<K>>>>
ReceivesSubscriptionWrapper<K>
events and processes them according to their Instruction. Depending on the results,SubscriptionResponseWrapper
s are created, which will be propagated to theSubscriptionResolverJoinProcessorSupplier
instance.
-
-
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 newProcessor
instance.-
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:ProcessorSupplier
Return a newProcessor
instance.- Specified by:
get
in interfaceProcessorSupplier<K,KO>
- Returns:
- a new
Processor
instance
-
-