brokers

package
v0.0.0-...-d5049b0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BrokerHealthCheck

func BrokerHealthCheck(broker, token string) error

BrokerHealthCheck calls broker's health endpoint

func BrokerTopicsQuery

func BrokerTopicsQuery(brokerBaseURL, token string) ([]string, error)

BrokerTopicsQuery returns a map of broker and topic full name, or error of this operation

func GetBrokers

func GetBrokers(restBaseURL, clusterName, token string) ([]string, error)

GetBrokers gets a list of brokers and ports

func QueryTopicStats

func QueryTopicStats(url, token string) error

QueryTopicStats query a single topic stats

func TestBrokers

func TestBrokers(urlPrefix, clusterName, token string) (int, error)

TestBrokers evaluates all brokers' health

Types

This section is empty.

Jump to

Keyboard shortcuts

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