Class Node
Node represents a Kafka broker.
Inherited Members
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. |