Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { GetEndOffsets(topic string, partitions []int) ([]kafka.PartitionOffsets, error) GetPartitions(topic string) ([]int, error) CreateCompactedTopic(topic string, partition int, replicationFactor int) error Producer() *kafka.Writer Consumer(topic string, partition int, startOffset int64) *kafka.Reader CheckTopicIsCompacted(topic string) error CheckTopics(topics []string) error }
type SinkResponseHandler ¶ added in v1.1.22
type SinkResponseHandler interface { OnSuccess(ctx *SinkResponseHandlerContext) OnError(ctx *SinkResponseHandlerContext) }
type SinkResponseHandlerContext ¶ added in v1.1.22
type SinkResponseHandlerContext struct { Message *message.KafkaMessage Err error }
Click to show internal directories.
Click to hide internal directories.