client

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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