Documentation ¶
Index ¶
- type OutClientImpl
- func (s *OutClientImpl) Close()
- func (s *OutClientImpl) ListLoadedConsumerGroups() (*admin.ListConsumerGroupsResult_, error)
- func (s *OutClientImpl) ReadCgState(req *admin.ReadConsumerGroupStateRequest) (*admin.ReadConsumerGroupStateResult_, error)
- func (s *OutClientImpl) UnloadConsumerGroups(req *admin.UnloadConsumerGroupsRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutClientImpl ¶
type OutClientImpl struct {
// contains filtered or unexported fields
}
OutClientImpl is a outputhost cherami tchannel client
func NewClient ¶
func NewClient(instanceID int, hostAddr string) (*OutClientImpl, error)
NewClient returns a new instance of cherami tchannel client
func (*OutClientImpl) ListLoadedConsumerGroups ¶ added in v1.26.0
func (s *OutClientImpl) ListLoadedConsumerGroups() (*admin.ListConsumerGroupsResult_, error)
ListLoadedConsumerGroups lists all the loaded cgs from the outputhost
func (*OutClientImpl) ReadCgState ¶ added in v1.26.0
func (s *OutClientImpl) ReadCgState(req *admin.ReadConsumerGroupStateRequest) (*admin.ReadConsumerGroupStateResult_, error)
ReadCgState returns consumer group state inside output host
func (*OutClientImpl) UnloadConsumerGroups ¶
func (s *OutClientImpl) UnloadConsumerGroups(req *admin.UnloadConsumerGroupsRequest) error
UnloadConsumerGroups unloads the CG from the outputhost
Click to show internal directories.
Click to hide internal directories.