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

Method AddBlock

offset_commit_request.go:309–311  ·  view source on GitHub ↗
(topic string, partitionID int32, offset int64, timestamp int64, metadata string)

Source from the content-addressed store, hash-verified

307}
308
309func (r *OffsetCommitRequest) AddBlock(topic string, partitionID int32, offset int64, timestamp int64, metadata string) {
310 r.AddBlockWithLeaderEpoch(topic, partitionID, offset, 0, timestamp, metadata)
311}
312
313func (r *OffsetCommitRequest) AddBlockWithLeaderEpoch(topic string, partitionID int32, offset int64, leaderEpoch int32, timestamp int64, metadata string) {
314 if r.blocks == nil {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected