Class Node
Node represents a Kafka broker.
Inheritance
System.Object
Node
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Confluent.Kafka
Assembly: cs.temp.dll.dll
Syntax
public class Node
Properties
Host
Host represents the host of the broker.
Declaration
public string Host { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Id represents the Node Id.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Port
Port represents the port of the broker.
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Rack
Rack id (optional).
Declaration
public string Rack { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ToString()
Returns a JSON representation of this object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A JSON representation of this object. |
Overrides
System.Object.ToString()