Table of Contents

Class NewTopic

Namespace
Org.Apache.Kafka.Clients.Admin
Assembly
MASES.KNet.dll
public class NewTopic : JVMBridgeBase<NewTopic>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
NewTopic
Implements
Inherited Members
Extension Methods

Constructors

NewTopic()

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

public NewTopic()

NewTopic(String, Map<Integer, List<Integer>>)

public NewTopic(String arg0, Map<Integer, List<Integer>> arg1)

Parameters

arg0 String

String

arg1 Map<Integer, List<Integer>>

Map

NewTopic(String, Optional<Integer>, Optional<Short>)

public NewTopic(String arg0, Optional<Integer> arg1, Optional<Short> arg2)

Parameters

arg0 String

String

arg1 Optional<Integer>

Optional

arg2 Optional<Short>

Optional

NewTopic(String, int, short)

public NewTopic(String arg0, int arg1, short arg2)

Parameters

arg0 String

String

arg1 int

int

arg2 short

short

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

Configs()

public Map<String, String> Configs()

Returns

Map<String, String>

Map

Configs(Map<String, String>)

public NewTopic Configs(Map<String, String> arg0)

Parameters

arg0 Map<String, String>

Map

Returns

NewTopic

NewTopic

Name()

public String Name()

Returns

String

String

NumPartitions()

public int NumPartitions()

Returns

int

int

ReplicasAssignments()

public Map<Integer, List<Integer>> ReplicasAssignments()

Returns

Map<Integer, List<Integer>>

Map

ReplicationFactor()

public short ReplicationFactor()

Returns

short

short