Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignedPartition ¶
AssignedPartition is an autogenerated mock type for the AssignedPartition type
func (*AssignedPartition) AddMessage ¶
AddMessage provides a mock function with given fields: msg, now
func (*AssignedPartition) Close ¶
func (_m *AssignedPartition) Close()
Close provides a mock function with given fields:
func (*AssignedPartition) Redeliver ¶
func (_m *AssignedPartition) Redeliver(now time.Time)
Redeliver provides a mock function with given fields: now
func (*AssignedPartition) SmallestMarkerOffset ¶
func (_m *AssignedPartition) SmallestMarkerOffset() (int64, bool)
SmallestMarkerOffset provides a mock function with given fields:
type MarkerConsumer ¶
MarkerConsumer is an autogenerated mock type for the MarkerConsumer type
func (*MarkerConsumer) Start ¶
func (_m *MarkerConsumer) Start()
Start provides a mock function with given fields:
func (*MarkerConsumer) Stop ¶
func (_m *MarkerConsumer) Stop()
Stop provides a mock function with given fields:
type MarkersQueue ¶
MarkersQueue is an autogenerated mock type for the MarkersQueue type
func (*MarkersQueue) AddMarker ¶
AddMarker provides a mock function with given fields: offset, timestamp, marker
func (*MarkersQueue) MarkersToRedeliver ¶
func (_m *MarkersQueue) MarkersToRedeliver(now time.Time) []*proto.Marker
MarkersToRedeliver provides a mock function with given fields: now
func (*MarkersQueue) Partition ¶
func (_m *MarkersQueue) Partition() int32
Partition provides a mock function with given fields:
func (*MarkersQueue) SmallestMarkerOffset ¶
func (_m *MarkersQueue) SmallestMarkerOffset() (int64, bool)
SmallestMarkerOffset provides a mock function with given fields:
type OffsetCommitter ¶
OffsetCommitter is an autogenerated mock type for the OffsetCommitter type
func (*OffsetCommitter) AddMarker ¶
func (_m *OffsetCommitter) AddMarker(_a0 redelivery.RecordID)
AddMarker provides a mock function with given fields: _a0
func (*OffsetCommitter) DropOffsets ¶
func (_m *OffsetCommitter) DropOffsets(partition int32)
DropOffsets provides a mock function with given fields: partition
type Redeliverer ¶
Redeliverer is an autogenerated mock type for the Redeliverer type
func (*Redeliverer) Redeliver ¶
func (_m *Redeliverer) Redeliver(markers []*proto.Marker)
Redeliver provides a mock function with given fields: markers
func (*Redeliverer) Stop ¶
func (_m *Redeliverer) Stop()
Stop provides a mock function with given fields: