MCPcopy Create free account
hub / github.com/IBM/sarama / isValidVersion

Method isValidVersion

offset_commit_response.go:127–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125}
126
127func (r *OffsetCommitResponse) isValidVersion() bool {
128 return r.Version >= 0 && r.Version <= 8
129}
130
131func (r *OffsetCommitResponse) isFlexible() bool {
132 return r.isFlexibleVersion(r.Version)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected