Documentation ¶
Index ¶
- type Consumer
- type Message
- type PartitionConsumer
- func (_m *PartitionConsumer) AsyncClose()
- func (_m *PartitionConsumer) Close() error
- func (_m *PartitionConsumer) Errors() <-chan *sarama.ConsumerError
- func (_m *PartitionConsumer) HighWaterMarkOffset() int64
- func (_m *PartitionConsumer) IsPaused() bool
- func (_m *PartitionConsumer) Messages() <-chan *sarama.ConsumerMessage
- func (_m *PartitionConsumer) Partition() int32
- func (_m *PartitionConsumer) Pause()
- func (_m *PartitionConsumer) Resume()
- func (_m *PartitionConsumer) Topic() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
Consumer is an autogenerated mock type for the Consumer type
func (*Consumer) MarkPartitionOffset ¶
func (_m *Consumer) MarkPartitionOffset(topic string, partition int32, offset int64, metadata string)
MarkPartitionOffset provides a mock function with given fields: topic, partition, offset, metadata
func (*Consumer) Partitions ¶
func (_m *Consumer) Partitions() <-chan cluster.PartitionConsumer
Partitions provides a mock function with given fields:
type Message ¶
Message is an autogenerated mock type for the Message type
type PartitionConsumer ¶
PartitionConsumer is an autogenerated mock type for the PartitionConsumer type
func (*PartitionConsumer) AsyncClose ¶
func (_m *PartitionConsumer) AsyncClose()
AsyncClose provides a mock function with given fields:
func (*PartitionConsumer) Close ¶
func (_m *PartitionConsumer) Close() error
Close provides a mock function with given fields:
func (*PartitionConsumer) Errors ¶
func (_m *PartitionConsumer) Errors() <-chan *sarama.ConsumerError
Errors provides a mock function with given fields:
func (*PartitionConsumer) HighWaterMarkOffset ¶
func (_m *PartitionConsumer) HighWaterMarkOffset() int64
HighWaterMarkOffset provides a mock function with given fields:
func (*PartitionConsumer) Messages ¶
func (_m *PartitionConsumer) Messages() <-chan *sarama.ConsumerMessage
Messages provides a mock function with given fields:
func (*PartitionConsumer) Partition ¶
func (_m *PartitionConsumer) Partition() int32
Partition provides a mock function with given fields:
func (*PartitionConsumer) Topic ¶
func (_m *PartitionConsumer) Topic() string
Topic provides a mock function with given fields: