(topic string, partitionID int32, offset int64, timestamp int64, metadata string)
| 307 | } |
| 308 | |
| 309 | func (r *OffsetCommitRequest) AddBlock(topic string, partitionID int32, offset int64, timestamp int64, metadata string) { |
| 310 | r.AddBlockWithLeaderEpoch(topic, partitionID, offset, 0, timestamp, metadata) |
| 311 | } |
| 312 | |
| 313 | func (r *OffsetCommitRequest) AddBlockWithLeaderEpoch(topic string, partitionID int32, offset int64, leaderEpoch int32, timestamp int64, metadata string) { |
| 314 | if r.blocks == nil { |
nothing calls this directly
no test coverage detected