Class: Kafkat::Broker

Inherits:
Struct
  • Object
show all
Defined in:
lib/kafkat/cluster/broker.rb

Instance Attribute Summary collapse

Instance Attribute Details

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



2
3
4
# File 'lib/kafkat/cluster/broker.rb', line 2

def host
  @host
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



2
3
4
# File 'lib/kafkat/cluster/broker.rb', line 2

def id
  @id
end

#portObject

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



2
3
4
# File 'lib/kafkat/cluster/broker.rb', line 2

def port
  @port
end