Documentation ¶
Index ¶
- type GroupService
- func (service *GroupService) ConsumeProgress(topic, consumerGroupId string) (*models.ConsumerProgress, error)
- func (service *GroupService) ConsumeProgressByPage(topic, clusterName, consumerGroupId string, limit, offset int) (*models.ConsumerProgress, error)
- func (service *GroupService) GroupList(topic, clusterName string, limit, offset int) ([]*models.ConsumerGroupVo, int64, error)
- func (service *GroupService) QueryConsumerGroupId(topic string) ([]string, error)
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 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
Click to show internal directories.
Click to hide internal directories.