confluent-kafka-dotnet
Show / Hide Table of Contents

Class Node

Node represents a Kafka broker.

Inheritance
object
Node
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Confluent.Kafka
Assembly: Confluent.Kafka.dll
Syntax
public class Node

Properties

Host

Host represents the host of the broker.

Declaration
public string Host { get; set; }
Property Value
Type Description
string

Id

Id represents the Node Id.

Declaration
public int Id { get; set; }
Property Value
Type Description
int

Port

Port represents the port of the broker.

Declaration
public int Port { get; set; }
Property Value
Type Description
int

Rack

Rack id (optional).

Declaration
public string Rack { get; set; }
Property Value
Type Description
string

Methods

ToString()

Returns a JSON representation of this object.

Declaration
public override string ToString()
Returns
Type Description
string

A JSON representation of this object.

Overrides
object.ToString()
In this article