Broker class
Represents single node in a Kafka cluster.
Constructors
- Broker.new(int id, String host, int port)
-
Creates new instance of Kafka broker.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
Host name or IP address of this broker.
final
- id → int
-
Unique ID of this broker within cluster.
final
- port → int
-
Port number of this broker.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited