MCPcopy
hub / github.com/IBM/sarama / DescribeLogDirsRequest

Struct DescribeLogDirsRequest

describe_log_dirs_request.go:4–11  ·  view source on GitHub ↗

DescribeLogDirsRequest is a describe request to get partitions' log size

Source from the content-addressed store, hash-verified

2
3// DescribeLogDirsRequest is a describe request to get partitions' log size
4type 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
13func (r *DescribeLogDirsRequest) setVersion(v int16) {
14 r.Version = v

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected