Documentation ¶
Overview ¶
Package kafka provides a kafka broker using sarama cluster
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultBrokerConfig = sarama.NewConfig() DefaultClusterConfig = sarama.NewConfig() )
Functions ¶
func SubscribeConfig ¶
func SubscribeConfig(c *sarama.Config) broker.SubscribeOption
func SubscribeContext ¶
func SubscribeContext(ctx context.Context) broker.SubscribeOption
SubscribeContext set the context for broker.SubscribeOption
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.