client

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 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 JcqClient

type JcqClient struct {
	core.JDCloudClient
}

func NewJcqClient

func NewJcqClient(credential *core.Credential) *JcqClient

func (*JcqClient) AddPermission

func (c *JcqClient) AddPermission(request *jcq.AddPermissionRequest) (*jcq.AddPermissionResponse, error)

对当前topic授予目标用户特定权限

func (*JcqClient) CleanMessages

func (c *JcqClient) CleanMessages(request *jcq.CleanMessagesRequest) (*jcq.CleanMessagesResponse, error)

清除消息

func (*JcqClient) CreateSubscription

func (c *JcqClient) CreateSubscription(request *jcq.CreateSubscriptionRequest) (*jcq.CreateSubscriptionResponse, error)

创建订阅

func (*JcqClient) CreateTopic

func (c *JcqClient) CreateTopic(request *jcq.CreateTopicRequest) (*jcq.CreateTopicResponse, error)

创建一个指定名称的topic

func (*JcqClient) DeleteDeadLetters

func (c *JcqClient) DeleteDeadLetters(request *jcq.DeleteDeadLettersRequest) (*jcq.DeleteDeadLettersResponse, error)

删除死信消息

func (*JcqClient) DeleteSubscription

func (c *JcqClient) DeleteSubscription(request *jcq.DeleteSubscriptionRequest) (*jcq.DeleteSubscriptionResponse, error)

删除订阅

func (*JcqClient) DeleteTopic

func (c *JcqClient) DeleteTopic(request *jcq.DeleteTopicRequest) (*jcq.DeleteTopicResponse, error)

删除单个topic

func (*JcqClient) DescribeAccessPoint

func (c *JcqClient) DescribeAccessPoint(request *jcq.DescribeAccessPointRequest) (*jcq.DescribeAccessPointResponse, error)

查看接入点接口

func (*JcqClient) DescribeConsumerGroupIds

func (c *JcqClient) DescribeConsumerGroupIds(request *jcq.DescribeConsumerGroupIdsRequest) (*jcq.DescribeConsumerGroupIdsResponse, error)

consumerGroupId列表

func (*JcqClient) DescribeDeadLetterNumbers

func (c *JcqClient) DescribeDeadLetterNumbers(request *jcq.DescribeDeadLetterNumbersRequest) (*jcq.DescribeDeadLetterNumbersResponse, error)

死信消息数(按照用户或者consumerGroupId)

func (*JcqClient) DescribeDeadLetterNumbersWithTopic

死信消息数

func (*JcqClient) DescribeMessage

func (c *JcqClient) DescribeMessage(request *jcq.DescribeMessageRequest) (*jcq.DescribeMessageResponse, error)

查询message详情

func (*JcqClient) DescribeMessageTrace added in v1.13.0

func (c *JcqClient) DescribeMessageTrace(request *jcq.DescribeMessageTraceRequest) (*jcq.DescribeMessageTraceResponse, error)

查询消息轨迹

func (*JcqClient) DescribeMessages

func (c *JcqClient) DescribeMessages(request *jcq.DescribeMessagesRequest) (*jcq.DescribeMessagesResponse, error)

消息列表

func (*JcqClient) DescribeMessagesByBusinessId added in v1.13.0

根据businessId查询消息

func (*JcqClient) DescribePermission

func (c *JcqClient) DescribePermission(request *jcq.DescribePermissionRequest) (*jcq.DescribePermissionResponse, error)

查看当前topic授予了哪些用户哪些权限

func (*JcqClient) DescribeSubscription

func (c *JcqClient) DescribeSubscription(request *jcq.DescribeSubscriptionRequest) (*jcq.DescribeSubscriptionResponse, error)

查询订阅详情

func (*JcqClient) DescribeSubscriptions

func (c *JcqClient) DescribeSubscriptions(request *jcq.DescribeSubscriptionsRequest) (*jcq.DescribeSubscriptionsResponse, error)

订阅列表

func (*JcqClient) DescribeTopic

func (c *JcqClient) DescribeTopic(request *jcq.DescribeTopicRequest) (*jcq.DescribeTopicResponse, error)

查询topic详情

func (*JcqClient) DescribeTopics

func (c *JcqClient) DescribeTopics(request *jcq.DescribeTopicsRequest) (*jcq.DescribeTopicsResponse, error)

查询topic列表

func (*JcqClient) DisableLogger added in v1.13.0

func (c *JcqClient) DisableLogger()

func (*JcqClient) ListDeadLetters

func (c *JcqClient) ListDeadLetters(request *jcq.ListDeadLettersRequest) (*jcq.ListDeadLettersResponse, error)

死信队列列表

func (*JcqClient) ModifySubscriptionAttribute added in v1.13.0

修改订阅

func (*JcqClient) RemovePermission

func (c *JcqClient) RemovePermission(request *jcq.RemovePermissionRequest) (*jcq.RemovePermissionResponse, error)

删除当前topic对目标用户授权的权限

func (*JcqClient) ResendDeadLetters

func (c *JcqClient) ResendDeadLetters(request *jcq.ResendDeadLettersRequest) (*jcq.ResendDeadLettersResponse, error)

重发死信消息

func (*JcqClient) ResetConsumeOffset

func (c *JcqClient) ResetConsumeOffset(request *jcq.ResetConsumeOffsetRequest) (*jcq.ResetConsumeOffsetResponse, error)

重置消费位

func (*JcqClient) SetConfig

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

func (*JcqClient) SetLogger

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

Jump to

Keyboard shortcuts

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