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

Method AddRecord

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

Source from the content-addressed store, hash-verified

720}
721
722func (r *FetchResponse) AddRecord(topic string, partition int32, key, value Encoder, offset int64) {
723 r.AddRecordWithTimestamp(topic, partition, key, value, offset, time.Time{})
724}
725
726func (r *FetchResponse) AddRecordBatch(topic string, partition int32, key, value Encoder, offset int64, producerID int64, isTransactional bool) {
727 r.AddRecordBatchWithTimestamp(topic, partition, key, value, offset, producerID, isTransactional, time.Time{})

Calls 1