public override void Init(ProcessorContext context) { base.Init(context); if (this.queryableName != null) { store = (TimestampedKeyValueStore <K, V>)context.GetStateStore(queryableName); tupleForwarder = new TimestampedTupleForwarder <K, V>(this, sendOldValues); } }
public override void Init(ProcessorContext context) { base.Init(context); if (queryableStoreName != null) { store = (ITimestampedKeyValueStore <KS, VS>)context.GetStateStore(queryableStoreName); tupleForwarder = new TimestampedTupleForwarder <K, V>(this, sendOldValues); } if (throwException && (queryableStoreName == null || store == null || tupleForwarder == null)) { throw new StreamsException($"{logPrefix}Processor {Name} doesn't have queryable store name. Please set a correct name to materialed view !"); } }
public override void Init(ProcessorContext context) { base.Init(context); windowStore = (ITimestampedWindowStore <K, Agg>)context.GetStateStore(storeName); tupleForwarder = new TimestampedTupleForwarder <Windowed <K>, Agg>(this, sendOldValues); }
public override void Init(ProcessorContext context) { base.Init(context); store = (TimestampedKeyValueStore <K, T>)context.GetStateStore(storeName); tupleForwarder = new TimestampedTupleForwarder <K, V>(this, enableSendOldValues); }