kafka

package
v3.6.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	genericjmx.Config `yaml:",inline"`
	// Cluster name to which the broker belongs
	ClusterName string `yaml:"clusterName" validate:"required"`
}

Config is the monitor-specific config with the generic config embedded

type Monitor

type Monitor struct {
	*genericjmx.JMXMonitorCore
}

Monitor is the main type that represents the monitor

func (*Monitor) Configure

func (m *Monitor) Configure(conf *Config) error

Configure configures the kafka monitor and instantiates the generic jmx monitor

Jump to

Keyboard shortcuts

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