Class: Kafka::Protocol::DescribeGroupsResponse::Member

Inherits:
Object
  • Object
show all
Defined in:
lib/kafka/protocol/describe_groups_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(member_id:, client_id:, client_host:, member_assignment:) ⇒ Member

Returns a new instance of Member.



22
23
24
25
26
27
# File 'lib/kafka/protocol/describe_groups_response.rb', line 22

def initialize(member_id:, client_id:, client_host:, member_assignment:)
  @member_id = member_id
  @client_id = client_id
  @client_host = client_host
  @member_assignment = member_assignment
end

Instance Attribute Details

#client_hostObject (readonly)

Returns the value of attribute client_host.



20
21
22
# File 'lib/kafka/protocol/describe_groups_response.rb', line 20

def client_host
  @client_host
end

#client_idObject (readonly)

Returns the value of attribute client_id.



20
21
22
# File 'lib/kafka/protocol/describe_groups_response.rb', line 20

def client_id
  @client_id
end

#member_assignmentObject (readonly)

Returns the value of attribute member_assignment.



20
21
22
# File 'lib/kafka/protocol/describe_groups_response.rb', line 20

def member_assignment
  @member_assignment
end

#member_idObject (readonly)

Returns the value of attribute member_id.



20
21
22
# File 'lib/kafka/protocol/describe_groups_response.rb', line 20

def member_id
  @member_id
end