Table of Contents

Class StreamPartitioner

Namespace
Org.Apache.Kafka.Streams.Processor
Assembly
MASES.KNet.dll
public class StreamPartitioner : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
StreamPartitioner
Implements
Derived
Inherited Members

Constructors

StreamPartitioner()

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

public StreamPartitioner()

StreamPartitioner(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 StreamPartitioner(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnPartitions

public Func<String, object, object, int, Optional> OnPartitions { get; set; }

Property Value

Func<String, object, object, int, Optional>

Remarks

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

Methods

InitializeHandlers()

Handlers initializer for StreamPartitioner

protected virtual void InitializeHandlers()

Partitions(String, object, object, int)

public virtual Optional Partitions(String arg0, object arg1, object arg2, int arg3)

Parameters

arg0 String

String

arg1 object

object

arg2 object

object

arg3 int

int

Returns

Optional

Optional