client

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StreambusClient

type StreambusClient struct {
	core.JDCloudClient
}

func NewStreambusClient

func NewStreambusClient(credential *core.Credential) *StreambusClient

func (*StreambusClient) AddTopic

创建topic时,topicModel中只需要传topic参数,另外两个参数可为空

func (*StreambusClient) CreateConsumerGroup added in v1.0.5

创建consumerGroupName

func (*StreambusClient) DeleteConsumerGroup added in v1.0.5

删除consumerGroupName

func (*StreambusClient) DeleteTopic added in v1.0.5

删除topic

func (*StreambusClient) DescribeTopic added in v1.0.5

查询指定主题,如果已归档会返回归档信息

func (*StreambusClient) GetConsumerGroupList added in v1.0.5

查看指定主题的所有消费组

func (*StreambusClient) GetTopicList

查询topic列表,返回topic的集合

func (*StreambusClient) SetConfig

func (c *StreambusClient) SetConfig(config *core.Config)

func (*StreambusClient) SetLogger

func (c *StreambusClient) SetLogger(logger core.Logger)

func (*StreambusClient) UpdateTopic

此接口可以用来更新主题,创建归档,修改归档,删除归档,传入不同的参数可以实现不同的功能。修改归档只需要修改相应归档的参数,删除归档只需要把归档参数置为空即可

Jump to

Keyboard shortcuts

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