khenaidoo | ac63710 | 2019-01-14 15:44:34 -0500 | [diff] [blame] | 1 | package sarama |
2 | |||||
Scott Baker | beb3cfa | 2019-10-01 14:44:30 -0700 | [diff] [blame] | 3 | //ApiVersionsRequest ... |
khenaidoo | ac63710 | 2019-01-14 15:44:34 -0500 | [diff] [blame] | 4 | type ApiVersionsRequest struct { |
5 | } | ||||
6 | |||||
Scott Baker | beb3cfa | 2019-10-01 14:44:30 -0700 | [diff] [blame] | 7 | func (a *ApiVersionsRequest) encode(pe packetEncoder) error { |
khenaidoo | ac63710 | 2019-01-14 15:44:34 -0500 | [diff] [blame] | 8 | return nil |
9 | } | ||||
10 | |||||
Scott Baker | beb3cfa | 2019-10-01 14:44:30 -0700 | [diff] [blame] | 11 | func (a *ApiVersionsRequest) decode(pd packetDecoder, version int16) (err error) { |
khenaidoo | ac63710 | 2019-01-14 15:44:34 -0500 | [diff] [blame] | 12 | return nil |
13 | } | ||||
14 | |||||
Scott Baker | beb3cfa | 2019-10-01 14:44:30 -0700 | [diff] [blame] | 15 | func (a *ApiVersionsRequest) key() int16 { |
khenaidoo | ac63710 | 2019-01-14 15:44:34 -0500 | [diff] [blame] | 16 | return 18 |
17 | } | ||||
18 | |||||
Scott Baker | beb3cfa | 2019-10-01 14:44:30 -0700 | [diff] [blame] | 19 | func (a *ApiVersionsRequest) version() int16 { |
khenaidoo | ac63710 | 2019-01-14 15:44:34 -0500 | [diff] [blame] | 20 | return 0 |
21 | } | ||||
22 | |||||
Scott Baker | beb3cfa | 2019-10-01 14:44:30 -0700 | [diff] [blame] | 23 | func (a *ApiVersionsRequest) requiredVersion() KafkaVersion { |
khenaidoo | ac63710 | 2019-01-14 15:44:34 -0500 | [diff] [blame] | 24 | return V0_10_0_0 |
25 | } |