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

Method AddMessage

fetch_response.go:720–722  ·  view source on GitHub ↗
(topic string, partition int32, key, value Encoder, offset int64)

Source from the content-addressed store, hash-verified

718}
719
720func (r *FetchResponse) AddMessage(topic string, partition int32, key, value Encoder, offset int64) {
721 r.AddMessageWithTimestamp(topic, partition, key, value, offset, time.Time{}, 0)
722}
723
724func (r *FetchResponse) AddRecord(topic string, partition int32, key, value Encoder, offset int64) {
725 r.AddRecordWithTimestamp(topic, partition, key, value, offset, time.Time{})

Callers 9

TestConsumerExtraOffsetsFunction · 0.95
ForMethod · 0.95
TestConsumerExpiryTickerFunction · 0.95
ForMethod · 0.95
TestProduceRequestFunction · 0.45

Calls 1