We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e4c981 commit 7a5fbcbCopy full SHA for 7a5fbcb
lib/kafka/protocol.rb
@@ -24,6 +24,7 @@ module Protocol
24
LEAVE_GROUP_API = 13
25
SYNC_GROUP_API = 14
26
SASL_HANDSHAKE_API = 17
27
+ API_VERSIONS_API = 18
28
CREATE_TOPICS_API = 19
29
30
# A mapping from numeric API keys to symbolic API names.
@@ -40,6 +41,7 @@ module Protocol
40
41
LEAVE_GROUP_API => :leave_group,
42
SYNC_GROUP_API => :sync_group,
43
SASL_HANDSHAKE_API => :sasl_handshake,
44
+ API_VERSIONS_API => :api_versions,
45
CREATE_TOPICS_API => :create_topics,
46
}
47
lib/kafka/protocol/api_versions_request.rb
@@ -3,7 +3,7 @@ module Protocol
3
4
class ApiVersionsRequest
5
def api_key
6
- 18
+ API_VERSIONS_API
7
end
8
9
def encode(encoder)
0 commit comments