Table of Contents

Class DefaultErrorHandlerContext

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

Constructors

DefaultErrorHandlerContext()

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

public DefaultErrorHandlerContext()

DefaultErrorHandlerContext(IJVMBridgeBaseInitializer)

Internal constructor: used internally from JCOBridge

[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

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

Parameters

args object[]

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 Closeable

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

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