Table of Contents

Class Processor<KIn, VIn, KOut, VOut>

Namespace
Org.Apache.Kafka.Streams.Processor.Api
Assembly
MASES.KNet.dll
public class Processor<KIn, VIn, KOut, VOut> : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IProcessor<KIn, VIn, KOut, VOut>, IJVMBridgeBase, IJVMBridgeDefinition

Type Parameters

KIn
VIn
KOut
VOut
Inheritance
Processor<KIn, VIn, KOut, VOut>
Implements
IProcessor<KIn, VIn, KOut, VOut>
Derived
Inherited Members

Constructors

Processor()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Processor()

Processor(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public Processor(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnClose

public Action OnClose { get; set; }

Property Value

Action

Remarks

If OnClose has a value it takes precedence over corresponding class method

OnInit

public Action<ProcessorContext<KOut, VOut>> OnInit { get; set; }

Property Value

Action<ProcessorContext<KOut, VOut>>

Remarks

If OnInit has a value it takes precedence over corresponding class method

OnProcess

public Action<Record<KIn, VIn>> OnProcess { get; set; }

Property Value

Action<Record<KIn, VIn>>

Remarks

If OnProcess has a value it takes precedence over corresponding class method

Methods

Close()

public virtual void Close()

Remarks

The method invokes the default implementation in the JVM interface using CloseDefault(); override the method to implement a different behavior

CloseDefault()

public void CloseDefault()

Remarks

The method invokes the default implementation in the JVM interface

Init(ProcessorContext<KOut, VOut>)

public virtual void Init(ProcessorContext<KOut, VOut> arg0)

Parameters

arg0 ProcessorContext<KOut, VOut>

ProcessorContext

Remarks

The method invokes the default implementation in the JVM interface using InitDefault(ProcessorContext<KOut, VOut>); override the method to implement a different behavior

InitDefault(ProcessorContext<KOut, VOut>)

public void InitDefault(ProcessorContext<KOut, VOut> arg0)

Parameters

arg0 ProcessorContext<KOut, VOut>

ProcessorContext

Remarks

The method invokes the default implementation in the JVM interface

InitializeHandlers()

Handlers initializer for Processor

protected virtual void InitializeHandlers()

Process(Record<KIn, VIn>)

public virtual void Process(Record<KIn, VIn> arg0)

Parameters

arg0 Record<KIn, VIn>

Record