outputhost

package
v0.0.0-...-f5d5260 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2019 License: MIT Imports: 6 Imported by: 0

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

func (s *OutClientImpl) ListLoadedConsumerGroups() (*admin.ListConsumerGroupsResult_, error)

ListLoadedConsumerGroups lists all the loaded cgs from the outputhost

func (*OutClientImpl) ReadCgState

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