Table of Contents

Class TopicCommand.TopicService

Namespace
Org.Apache.Kafka.Tools
Assembly
MASES.KNet.dll
public class TopicCommand.TopicService : AutoCloseable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAutoCloseable
Inheritance
TopicCommand.TopicService
Implements
Inherited Members

Constructors

TopicService()

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

public TopicService()

TopicService(Properties, Optional<String>)

public TopicService(Properties arg0, Optional<String> arg1)

Parameters

arg0 Properties

Properties

arg1 Optional<String>

Optional

TopicService(Admin)

public TopicService(Admin arg0)

Parameters

arg0 Admin

Admin

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

AlterTopic(TopicCommandOptions)

public void AlterTopic(TopicCommand.TopicCommandOptions arg0)

Parameters

arg0 TopicCommand.TopicCommandOptions

TopicCommand.TopicCommandOptions

Exceptions

ExecutionException
InterruptedException

Close()

public void Close()

Exceptions

Exception

CreateTopic(TopicCommandOptions)

public void CreateTopic(TopicCommand.TopicCommandOptions arg0)

Parameters

arg0 TopicCommand.TopicCommandOptions

TopicCommand.TopicCommandOptions

Exceptions

Exception

DeleteTopic(TopicCommandOptions)

public void DeleteTopic(TopicCommand.TopicCommandOptions arg0)

Parameters

arg0 TopicCommand.TopicCommandOptions

TopicCommand.TopicCommandOptions

Exceptions

ExecutionException
InterruptedException

DescribeTopic(TopicCommandOptions)

public void DescribeTopic(TopicCommand.TopicCommandOptions arg0)

Parameters

arg0 TopicCommand.TopicCommandOptions

TopicCommand.TopicCommandOptions

Exceptions

ExecutionException
InterruptedException

GetTopicIds(Uuid, bool)

public List<Uuid> GetTopicIds(Uuid arg0, bool arg1)

Parameters

arg0 Uuid

Uuid

arg1 bool

bool

Returns

List<Uuid>

List

Exceptions

ExecutionException
InterruptedException

GetTopics(Optional<String>, bool)

public List<String> GetTopics(Optional<String> arg0, bool arg1)

Parameters

arg0 Optional<String>

Optional

arg1 bool

bool

Returns

List<String>

List

Exceptions

ExecutionException
InterruptedException

ListAllReassignments(Set<TopicPartition>)

public Map<TopicPartition, PartitionReassignment> ListAllReassignments(Set<TopicPartition> arg0)

Parameters

arg0 Set<TopicPartition>

Set

Returns

Map<TopicPartition, PartitionReassignment>

Map

ListTopics(TopicCommandOptions)

public void ListTopics(TopicCommand.TopicCommandOptions arg0)

Parameters

arg0 TopicCommand.TopicCommandOptions

TopicCommand.TopicCommandOptions

Exceptions

ExecutionException
InterruptedException