Table of Contents

Class ProductionExceptionHandler

Namespace
Org.Apache.Kafka.Streams.Errors
Assembly
MASES.KNet.dll
public class ProductionExceptionHandler : Configurable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IProductionExceptionHandler, IConfigurable
Inheritance
ProductionExceptionHandler
Implements
Derived
Inherited Members

Constructors

ProductionExceptionHandler(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 ProductionExceptionHandler(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

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

Handle(ProducerRecord<byte[], byte[]>, JVMBridgeException)

[Obsolete("Deprecated in JVM")]
public ProductionExceptionHandler.ProductionExceptionHandlerResponse Handle(ProducerRecord<byte[], byte[]> arg0, JVMBridgeException arg1)

Parameters

arg0 ProducerRecord<byte[], byte[]>

ProducerRecord

arg1 JVMBridgeException

Exception

Returns

ProductionExceptionHandler.ProductionExceptionHandlerResponse

ProductionExceptionHandler.ProductionExceptionHandlerResponse

Handle(ErrorHandlerContext, ProducerRecord<byte[], byte[]>, JVMBridgeException)

[Obsolete("Deprecated in JVM")]
public ProductionExceptionHandler.ProductionExceptionHandlerResponse Handle(ErrorHandlerContext arg0, ProducerRecord<byte[], byte[]> arg1, JVMBridgeException arg2)

Parameters

arg0 ErrorHandlerContext

ErrorHandlerContext

arg1 ProducerRecord<byte[], byte[]>

ProducerRecord

arg2 JVMBridgeException

Exception

Returns

ProductionExceptionHandler.ProductionExceptionHandlerResponse

ProductionExceptionHandler.ProductionExceptionHandlerResponse

HandleError(ErrorHandlerContext, ProducerRecord<byte[], byte[]>, JVMBridgeException)

public ProductionExceptionHandler.Response HandleError(ErrorHandlerContext arg0, ProducerRecord<byte[], byte[]> arg1, JVMBridgeException arg2)

Parameters

arg0 ErrorHandlerContext

ErrorHandlerContext

arg1 ProducerRecord<byte[], byte[]>

ProducerRecord

arg2 JVMBridgeException

Exception

Returns

ProductionExceptionHandler.Response

ProductionExceptionHandler.Response

HandleSerializationError(ErrorHandlerContext, ProducerRecord, JVMBridgeException, SerializationExceptionOrigin)

public ProductionExceptionHandler.Response HandleSerializationError(ErrorHandlerContext arg0, ProducerRecord arg1, JVMBridgeException arg2, ProductionExceptionHandler.SerializationExceptionOrigin arg3)

Parameters

arg0 ErrorHandlerContext

ErrorHandlerContext

arg1 ProducerRecord

ProducerRecord

arg2 JVMBridgeException

Exception

arg3 ProductionExceptionHandler.SerializationExceptionOrigin

ProductionExceptionHandler.SerializationExceptionOrigin

Returns

ProductionExceptionHandler.Response

ProductionExceptionHandler.Response

HandleSerializationException(ProducerRecord, JVMBridgeException)

[Obsolete("Deprecated in JVM")]
public ProductionExceptionHandler.ProductionExceptionHandlerResponse HandleSerializationException(ProducerRecord arg0, JVMBridgeException arg1)

Parameters

arg0 ProducerRecord

ProducerRecord

arg1 JVMBridgeException

Exception

Returns

ProductionExceptionHandler.ProductionExceptionHandlerResponse

ProductionExceptionHandler.ProductionExceptionHandlerResponse

HandleSerializationException(ErrorHandlerContext, ProducerRecord, JVMBridgeException, SerializationExceptionOrigin)

[Obsolete("Deprecated in JVM")]
public ProductionExceptionHandler.ProductionExceptionHandlerResponse HandleSerializationException(ErrorHandlerContext arg0, ProducerRecord arg1, JVMBridgeException arg2, ProductionExceptionHandler.SerializationExceptionOrigin arg3)

Parameters

arg0 ErrorHandlerContext

ErrorHandlerContext

arg1 ProducerRecord

ProducerRecord

arg2 JVMBridgeException

Exception

arg3 ProductionExceptionHandler.SerializationExceptionOrigin

ProductionExceptionHandler.SerializationExceptionOrigin

Returns

ProductionExceptionHandler.ProductionExceptionHandlerResponse

ProductionExceptionHandler.ProductionExceptionHandlerResponse