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

Function consMsg2Str

functional_consumer_test.go:497–499  ·  view source on GitHub ↗
(consMsg *ConsumerMessage)

Source from the content-addressed store, hash-verified

495}
496
497func consMsg2Str(consMsg *ConsumerMessage) string {
498 return fmt.Sprintf("{offset: %d, value: %s}", consMsg.Offset, string(consMsg.Value))
499}
500
501func versionRange(lower KafkaVersion) []KafkaVersion {
502 // Get the test cluster version from the environment. If there is nothing

Callers 1

consumeMsgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected