Class: Kafka::Protocol::ApiVersionsRequest

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

Instance Method Summary collapse

Instance Method Details

#api_keyObject



7
8
9
# File 'lib/kafka/protocol/api_versions_request.rb', line 7

def api_key
  API_VERSIONS_API
end

#encode(encoder) ⇒ Object



11
12
13
# File 'lib/kafka/protocol/api_versions_request.rb', line 11

def encode(encoder)
  # Nothing to do.
end

#response_classObject



15
16
17
# File 'lib/kafka/protocol/api_versions_request.rb', line 15

def response_class
  Protocol::ApiVersionsResponse
end