Table of Contents

Class TopicAdmin

Namespace
Org.Apache.Kafka.Connect.Util
Assembly
MASES.KNet.dll
public class TopicAdmin : AutoCloseable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAutoCloseable
Inheritance
JVMBridgeBase
JVMBridgeBase<AutoCloseable>
TopicAdmin
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()
JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])
JVMBridgeBase<AutoCloseable>.DynBridgeClazz
JVMBridgeBase<AutoCloseable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener

Constructors

TopicAdmin()

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

public TopicAdmin()

TopicAdmin(Map<String, object>)

public TopicAdmin(Map<String, object> arg0)

Parameters

arg0 Map<String, object>

Map

TopicAdmin(Map<String, object>, Admin)

public TopicAdmin(Map<String, object> arg0, Admin arg1)

Parameters

arg0 Map<String, object>

Map

arg1 Admin

Admin

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

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

EMPTY_CREATION

public static TopicAdmin.TopicCreationResponse EMPTY_CREATION { get; }

Property Value

TopicAdmin.TopicCreationResponse

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

NO_PARTITIONS

public static int NO_PARTITIONS { get; }

Property Value

int

NO_REPLICATION_FACTOR

public static short NO_REPLICATION_FACTOR { get; }

Property Value

short

Methods

Close()

public void Close()

Close(Duration)

public void Close(Duration arg0)

Parameters

arg0 Duration

Duration

CreateOrFindTopic(NewTopic)

public bool CreateOrFindTopic(NewTopic arg0)

Parameters

arg0 NewTopic

NewTopic

Returns

bool

bool

CreateOrFindTopics(params NewTopic[])

public TopicAdmin.TopicCreationResponse CreateOrFindTopics(params NewTopic[] arg0)

Parameters

arg0 NewTopic[]

NewTopic

Returns

TopicAdmin.TopicCreationResponse

TopicAdmin.TopicCreationResponse

CreateTopic(NewTopic)

public bool CreateTopic(NewTopic arg0)

Parameters

arg0 NewTopic

NewTopic

Returns

bool

bool

CreateTopics(params NewTopic[])

public Set<String> CreateTopics(params NewTopic[] arg0)

Parameters

arg0 NewTopic[]

NewTopic

Returns

Set<String>

Set

CreateTopicsWithRetry(NewTopic, long, long, Time)

public Set<String> CreateTopicsWithRetry(NewTopic arg0, long arg1, long arg2, Time arg3)

Parameters

arg0 NewTopic

NewTopic

arg1 long

long

arg2 long

long

arg3 Time

Time

Returns

Set<String>

Set

DefineTopic(String)

public static TopicAdmin.NewTopicBuilder DefineTopic(String arg0)

Parameters

arg0 String

String

Returns

TopicAdmin.NewTopicBuilder

TopicAdmin.NewTopicBuilder

DescribeTopicConfig(String)

public Config DescribeTopicConfig(String arg0)

Parameters

arg0 String

String

Returns

Config

Config

DescribeTopicConfigs(params String[])

public Map<String, Config> DescribeTopicConfigs(params String[] arg0)

Parameters

arg0 String[]

String

Returns

Map<String, Config>

Map

DescribeTopics(params String[])

public Map<String, TopicDescription> DescribeTopics(params String[] arg0)

Parameters

arg0 String[]

String

Returns

Map<String, TopicDescription>

Map

EndOffsets(Set<TopicPartition>)

public Map<TopicPartition, Long> EndOffsets(Set<TopicPartition> arg0)

Parameters

arg0 Set<TopicPartition>

Set

Returns

Map<TopicPartition, Long>

Map

RetryEndOffsets(Set<TopicPartition>, Duration, long)

public Map<TopicPartition, Long> RetryEndOffsets(Set<TopicPartition> arg0, Duration arg1, long arg2)

Parameters

arg0 Set<TopicPartition>

Set

arg1 Duration

Duration

arg2 long

long

Returns

Map<TopicPartition, Long>

Map

TopicCleanupPolicy(String)

public Set<String> TopicCleanupPolicy(String arg0)

Parameters

arg0 String

String

Returns

Set<String>

Set

VerifyTopicCleanupPolicyOnlyCompact(String, String, String)

public bool VerifyTopicCleanupPolicyOnlyCompact(String arg0, String arg1, String arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 String

String

Returns

bool

bool