Class: Kafka::Protocol::ListGroupsRequest

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

Instance Method Summary collapse

Instance Method Details

#api_keyObject



6
7
8
# File 'lib/kafka/protocol/list_groups_request.rb', line 6

def api_key
  LIST_GROUPS_API
end

#api_versionObject



10
11
12
# File 'lib/kafka/protocol/list_groups_request.rb', line 10

def api_version
  0
end

#encode(encoder) ⇒ Object



18
19
20
# File 'lib/kafka/protocol/list_groups_request.rb', line 18

def encode(encoder)
  # noop
end

#response_classObject



14
15
16
# File 'lib/kafka/protocol/list_groups_request.rb', line 14

def response_class
  Protocol::ListGroupsResponse
end