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

Method isValidVersion

txn_offset_commit_request.go:148–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146}
147
148func (a *TxnOffsetCommitRequest) isValidVersion() bool {
149 return a.Version >= 0 && a.Version <= 4
150}
151
152func (a *TxnOffsetCommitRequest) isFlexible() bool {
153 return a.isFlexibleVersion(a.Version)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected