groupGervice

package
v0.0.0-...-ba2213e Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupService

type GroupService struct {
	*modules.AbstractService
	TopicServ *topicService.TopicService
}

GroupService 消费组、消费进度管理器 Author: tianyuliang Since: 2017/11/7

func Default

func Default() *GroupService

Default 返回默认唯一处理对象 Author: tianyuliang Since: 2017/11/7

func NewGroupGervice

func NewGroupGervice() *GroupService

NewGroupGervice 初始化 Author: tianyuliang Since: 2017/11/7

func (*GroupService) ConsumeProgress

func (service *GroupService) ConsumeProgress(topic, consumerGroupId string) (*models.ConsumerProgress, error)

ConsumeProgress 查询消费进度 Author: tianyuliang Since: 2017/11/10

func (*GroupService) ConsumeProgressByPage

func (service *GroupService) ConsumeProgressByPage(topic, clusterName, consumerGroupId string, limit, offset int) (*models.ConsumerProgress, error)

ConsumeProgress 查询消费进度 Author: tianyuliang Since: 2017/11/10

func (*GroupService) GroupList

func (service *GroupService) GroupList(topic, clusterName string, limit, offset int) ([]*models.ConsumerGroupVo, int64, error)

GroupList 查询所有topic对应的消费组列表 Author: tianyuliang Since: 2017/11/10

func (*GroupService) QueryConsumerGroupId

func (service *GroupService) QueryConsumerGroupId(topic string) ([]string, error)

GroupList 查询所有topic对应的消费组列表 Author: tianyuliang Since: 2017/11/10

Jump to

Keyboard shortcuts

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