Table of Contents

Class RemoteClusterUtils

Namespace
Org.Apache.Kafka.Connect.Mirror
Assembly
MASES.KNet.dll
public class RemoteClusterUtils : JVMBridgeBase<RemoteClusterUtils>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
RemoteClusterUtils
Implements
Inherited Members

Constructors

RemoteClusterUtils()

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

public RemoteClusterUtils()

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

CheckpointTopics(Map<String, object>)

public static Set<String> CheckpointTopics(Map<String, object> arg0)

Parameters

arg0 Map<String, object>

Map

Returns

Set<String>

Set

Exceptions

InterruptedException
TimeoutException

HeartbeatTopics(Map<String, object>)

public static Set<String> HeartbeatTopics(Map<String, object> arg0)

Parameters

arg0 Map<String, object>

Map

Returns

Set<String>

Set

Exceptions

InterruptedException
TimeoutException

ReplicationHops(Map<String, object>, String)

public static int ReplicationHops(Map<String, object> arg0, String arg1)

Parameters

arg0 Map<String, object>

Map

arg1 String

String

Returns

int

int

Exceptions

InterruptedException
TimeoutException

TranslateOffsets(Map<String, object>, String, String, Duration)

public static Map<TopicPartition, OffsetAndMetadata> TranslateOffsets(Map<String, object> arg0, String arg1, String arg2, Duration arg3)

Parameters

arg0 Map<String, object>

Map

arg1 String

String

arg2 String

String

arg3 Duration

Duration

Returns

Map<TopicPartition, OffsetAndMetadata>

Map

Exceptions

InterruptedException
TimeoutException

UpstreamClusters(Map<String, object>)

public static Set<String> UpstreamClusters(Map<String, object> arg0)

Parameters

arg0 Map<String, object>

Map

Returns

Set<String>

Set

Exceptions

InterruptedException
TimeoutException