Table of Contents

Class ProcessorSupplier<KIn, VIn, KOut, VOut>

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

Type Parameters

KIn
VIn
KOut
VOut
Inheritance
ProcessorSupplier<KIn, VIn, KOut, VOut>
Implements
IProcessorSupplier<KIn, VIn, KOut, VOut>
ISupplier<Processor<KIn, VIn, KOut, VOut>>
Derived
Inherited Members

Constructors

ProcessorSupplier()

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

public ProcessorSupplier()

ProcessorSupplier(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

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ProcessorSupplier(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

OnGet

public Func<Processor<KIn, VIn, KOut, VOut>> OnGet { get; set; }

Property Value

Func<Processor<KIn, VIn, KOut, VOut>>

OnInit

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

Property Value

Action<ProcessorContext<KOut, VOut>>

OnProcess

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

Property Value

Action<Record<KIn, VIn>>

OnStores

public Func<Set<StoreBuilder>> OnStores { get; set; }

Property Value

Func<Set<StoreBuilder>>

Remarks

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

Methods

Get()

public virtual Processor<KIn, VIn, KOut, VOut> Get()

Returns

Processor<KIn, VIn, KOut, VOut>

object

InitializeHandlers()

Handlers initializer for ProcessorSupplier<KIn, VIn, KOut, VOut>

protected virtual void InitializeHandlers()

Stores()

public virtual Set<StoreBuilder> Stores()

Returns

Set<StoreBuilder>

Set of StoreBuilder

Remarks

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

StoresDefault()

public Set<StoreBuilder> StoresDefault()

Returns

Set<StoreBuilder>

Set of StoreBuilder

Remarks

The method invokes the default implementation in the JVM interface