kafka

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKafkaConsumers

func NewKafkaConsumers(appId string, cfg *config.MQSubClient, groupIdx int) map[string]*Consumer

Types

type Consumer

type Consumer struct {
	*cluster.Consumer
}

func (*Consumer) Listen

func (c *Consumer) Listen(p Process)

type Process

type Process interface {
	Deal(m *offlinepush.OffPushMsg) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL