Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumeFlags ¶
func DefaultConsumeFlags ¶
func DefaultConsumeFlags() ConsumeFlags
type ConsumerGroup ¶
type KafkaDataSource ¶
type KafkaDataSource interface { Init() GetTopics() ([]string, error) GetContexts() ([]string, error) GetContext() string SetContext(contextName string) error GetConsumerGroups() ([]ConsumerGroup, error) ConsumeTopic(ctx context.Context, topicName string, flags ConsumeFlags, handleMessage MessageHandlerFunc) error }
type MessageHandlerFunc ¶
type MessageHandlerFunc func(msg Message)
Click to show internal directories.
Click to hide internal directories.