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 ¶ added in v1.5.1
func SubscribeConfig(c *sarama.Config) broker.SubscribeOption
func SubscribeContext ¶ added in v0.21.1
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.