Table of Contents

Class DefaultErrorHandlerContext

Namespace
Org.Apache.Kafka.Streams.Errors.Internals
Assembly
MASES.KNet.dll
public class DefaultErrorHandlerContext : ErrorHandlerContext, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IErrorHandlerContext
Inheritance
DefaultErrorHandlerContext
Implements

Constructors

DefaultErrorHandlerContext(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public DefaultErrorHandlerContext(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

DefaultErrorHandlerContext(ProcessorContext, String, int, long, Headers, String, TaskId, long, byte[], byte[])

public DefaultErrorHandlerContext(ProcessorContext arg0, String arg1, int arg2, long arg3, Headers arg4, String arg5, TaskId arg6, long arg7, byte[] arg8, byte[] arg9)

Parameters

arg0 ProcessorContext

ProcessorContext

arg1 String

String

arg2 int

int

arg3 long

long

arg4 Headers

Headers

arg5 String

String

arg6 TaskId

TaskId

arg7 long

long

arg8 byte[]

byte

arg9 byte[]

byte

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

CreatePoolableInstance(ProcessorContext, String, int, long, Headers, String, TaskId, long, byte[], byte[])

HPA initializer for DefaultErrorHandlerContext(Org.Apache.Kafka.Streams.Processor.ProcessorContext arg0, Java.Lang.String arg1, int arg2, long arg3, Org.Apache.Kafka.Common.Header.Headers arg4, Java.Lang.String arg5, Org.Apache.Kafka.Streams.Processor.TaskId arg6, long arg7, byte[] arg8, byte[] arg9)

public static DefaultErrorHandlerContext CreatePoolableInstance(ProcessorContext arg0, String arg1, int arg2, long arg3, Headers arg4, String arg5, TaskId arg6, long arg7, byte[] arg8, byte[] arg9)

Parameters

arg0 ProcessorContext
arg1 String
arg2 int
arg3 long
arg4 Headers
arg5 String
arg6 TaskId
arg7 long
arg8 byte[]
arg9 byte[]

Returns

DefaultErrorHandlerContext

Headers()

public Headers Headers()

Returns

Headers

Headers

Offset()

public long Offset()

Returns

long

long

Partition()

public int Partition()

Returns

int

int

ProcessorContext()

public Optional<ProcessorContext> ProcessorContext()

Returns

Optional<ProcessorContext>

Optional

ProcessorNodeId()

public String ProcessorNodeId()

Returns

String

String

SourceRawKey()

public byte[] SourceRawKey()

Returns

byte[]

byte

SourceRawValue()

public byte[] SourceRawValue()

Returns

byte[]

byte

TaskId()

public TaskId TaskId()

Returns

TaskId

TaskId

Timestamp()

public long Timestamp()

Returns

long

long

Topic()

public String Topic()

Returns

String

String