consumer

package
v0.0.0-...-6222cb7 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MAX_THRIFT_PACKET_SIZE = 12 * 1024 * 1024
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FlumeWatcher

type FlumeWatcher struct {
	// contains filtered or unexported fields
}

func (*FlumeWatcher) BusinessWatcher

func (self *FlumeWatcher) BusinessWatcher(business string, eventType config.ZkEvent)

func (*FlumeWatcher) ChildWatcher

func (self *FlumeWatcher) ChildWatcher(ctx context.Context, business string, childNode []config.HostPort)

type SourceManager

type SourceManager struct {
	// contains filtered or unexported fields
}

func NewSourceManager

func NewSourceManager(ctx context.Context, instancename string, option *config.Option) *SourceManager

func (*SourceManager) Close

func (self *SourceManager) Close()

func (*SourceManager) Start

func (self *SourceManager) Start(ctx context.Context)

type SourceServer

type SourceServer struct {
	// contains filtered or unexported fields
}

用于向flume中作为sink 通过thrift客户端写入日志

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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