outputhost

package
v1.27.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2017 License: MIT Imports: 6 Imported by: 6

Documentation

Index

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) Close

func (s *OutClientImpl) Close()

Close closes the 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

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

Jump to

Keyboard shortcuts

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