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

Struct ConsumerMetadataResponse

consumer_metadata_response.go:9–16  ·  view source on GitHub ↗

ConsumerMetadataResponse holds the response for a consumer group meta data requests

Source from the content-addressed store, hash-verified

7
8// ConsumerMetadataResponse holds the response for a consumer group meta data requests
9type ConsumerMetadataResponse struct {
10 Version int16
11 Err KError
12 Coordinator *Broker
13 CoordinatorID int32 // deprecated: use Coordinator.ID()
14 CoordinatorHost string // deprecated: use Coordinator.Addr()
15 CoordinatorPort int32 // deprecated: use Coordinator.Addr()
16}
17
18func (r *ConsumerMetadataResponse) setVersion(v int16) {
19 r.Version = v

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected