class Kafka::Protocol::MetadataResponse::BrokerInfo
def initialize(node_id:, host:, port:)
def initialize(node_id:, host:, port:) @node_id = node_id @host = host @port = port end
def to_s
def to_s "#{host}:#{port} (node_id=#{node_id})" end
def initialize(node_id:, host:, port:) @node_id = node_id @host = host @port = port end
def to_s "#{host}:#{port} (node_id=#{node_id})" end