DescribeLogDirsRequest is a describe request to get partitions' log size
| 2 | |
| 3 | // DescribeLogDirsRequest is a describe request to get partitions' log size |
| 4 | type DescribeLogDirsRequest struct { |
| 5 | // Version 0 and 1 are equal |
| 6 | // The version number is bumped to indicate that on quota violation brokers send out responses before throttling. |
| 7 | Version int16 |
| 8 | |
| 9 | // If this is an empty array, all topics will be queried |
| 10 | DescribeTopics []DescribeLogDirsRequestTopic |
| 11 | } |
| 12 | |
| 13 | func (r *DescribeLogDirsRequest) setVersion(v int16) { |
| 14 | r.Version = v |
nothing calls this directly
no outgoing calls
no test coverage detected