Documentation ¶
Index ¶
Constants ¶
View Source
const ( CreateOrderTopic = "order.create" UpdateCartTopic = "cart.update" )
Variables ¶
This section is empty.
Functions ¶
func WithPartitions ¶
func WithPartitions(p int32) func(*createTopic)
Types ¶
type AfterConsumedFunc ¶
type Consumer ¶
func NewConsumer ¶
func NewConsumer(addrs, groupID string, afterConsumedFunc AfterConsumedFunc) Consumer
Click to show internal directories.
Click to hide internal directories.