monitor

package
v10.0.8 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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor interface {
	CheckLatency(ctx context.Context) (time.Duration, error)
}

func NewMonitor

func NewMonitor(req *NewMonitorReq) Monitor

type NewMonitorReq

type NewMonitorReq struct {
	Client            pulsar.Client
	LocalClusterName  string
	RemoteClusterName string
	TopicURL          *url.URL
	NumberOfMessages  int
	Prefix            string
	PayloadsSizes     []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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