| 7 | } |
| 8 | |
| 9 | type Request struct { |
| 10 | // We need at least one tagged field to indicate that v5+ uses "flexible" |
| 11 | // messages. |
| 12 | _ struct{} `kafka:"min=v5,max=v5,tag"` |
| 13 | |
| 14 | Topics []RequestTopic `kafka:"min=v0,max=v5"` |
| 15 | TimeoutMs int32 `kafka:"min=v0,max=v5"` |
| 16 | ValidateOnly bool `kafka:"min=v1,max=v5"` |
| 17 | } |
| 18 | |
| 19 | func (r *Request) ApiKey() protocol.ApiKey { return protocol.CreateTopics } |
| 20 |
nothing calls this directly
no outgoing calls
no test coverage detected