Class ProcessorContext<KForward, VForward, TJVMKForward, TJVMVForward>
KNet implementation of ProcessorContext<KForward, VForward>
public class ProcessorContext<KForward, VForward, TJVMKForward, TJVMVForward>
Type Parameters
KForward
VForward
TJVMKForward
The JVM type of
KForward
TJVMVForward
The JVM type of
VForward
- Inheritance
-
ProcessorContext<KForward, VForward, TJVMKForward, TJVMVForward>
- Inherited Members
Properties
AppConfigs
public Map<String, object> AppConfigs { get; }
Property Value
ApplicationId
public string ApplicationId { get; }
Property Value
CurrentStreamDateTime
public DateTime CurrentStreamDateTime { get; }
Property Value
CurrentStreamTimeMs
public long CurrentStreamTimeMs { get; }
Property Value
CurrentSystemDateTime
public DateTime CurrentSystemDateTime { get; }
Property Value
CurrentSystemTimeMs
public long CurrentSystemTimeMs { get; }
Property Value
KeySerde
public Serde<object> KeySerde { get; }
Property Value
Metrics
public StreamsMetrics Metrics { get; }
Property Value
RecordMetadata
public RecordMetadata? RecordMetadata { get; }
Property Value
StateDir
public File StateDir { get; }
Property Value
TaskId
public TaskId TaskId { get; }
Property Value
ValueSerde
public Serde<object> ValueSerde { get; }
Property Value
Methods
AppConfigsWithPrefix(string)
public Map<String, object> AppConfigsWithPrefix(string arg0)
Parameters
Returns
Commit()
public void Commit()
Forward<K, V, TJVMK, TJVMV>(Record<K, V, TJVMK, TJVMV>)
public void Forward<K, V, TJVMK, TJVMV>(Record<K, V, TJVMK, TJVMV> arg0) where K : KForward where V : VForward where TJVMK : TJVMKForward where TJVMV : TJVMVForward
Parameters
Type Parameters
K
KForward
V
VForward
TJVMK
The JVM type of
K
TJVMV
The JVM type of
V
Forward<K, V, TJVMK, TJVMV>(Record<K, V, TJVMK, TJVMV>, string)
public void Forward<K, V, TJVMK, TJVMV>(Record<K, V, TJVMK, TJVMV> arg0, string arg1) where K : KForward where V : VForward where TJVMK : TJVMKForward where TJVMV : TJVMVForward
Parameters
Type Parameters
K
KForward
V
VForward
TJVMK
The JVM type of
K
TJVMV
The JVM type of
V
GetStateStore<S>(string)
public S GetStateStore<S>(string arg0) where S : IStateStore, new()
Parameters
Returns
- S
S
Type Parameters
Schedule(Duration, PunctuationType, Punctuator)
public Cancellable Schedule(Duration arg0, PunctuationType arg1, Punctuator arg2)
Parameters
arg0
Durationarg1
PunctuationTypearg2
Punctuator
Returns
Operators
implicit operator ProcessorContext<TJVMKForward, TJVMVForward>(ProcessorContext<KForward, VForward, TJVMKForward, TJVMVForward>)
Converter from ProcessorContext<KForward, VForward, TJVMKForward, TJVMVForward> to ProcessorContext<KForward, VForward>
public static implicit operator ProcessorContext<TJVMKForward, TJVMVForward>(ProcessorContext<KForward, VForward, TJVMKForward, TJVMVForward> t)
Parameters
t
ProcessorContext<KForward, VForward, TJVMKForward, TJVMVForward>
Returns
- ProcessorContext<TJVMKForward, TJVMVForward>