scale

package
v0.0.0-...-28ca6ac Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownsizeCluster

func DownsizeCluster(brokerId, namespace, ccEndpoint, clusterName string) error

DownsizeCluster downscales Kafka cluster

func GetBrokerIDWithLeastPartition

func GetBrokerIDWithLeastPartition(namespace, ccEndpoint, clusterName string) (string, error)

GetBrokerIDWithLeastPartition returns

func RebalanceCluster

func RebalanceCluster(namespace, ccEndpoint, clusterName string) error

RebalanceCluster rebalances Kafka cluster using CC

func RunPreferedLeaderElectionInCluster

func RunPreferedLeaderElectionInCluster(namespace, ccEndpoint, clusterName string) error

RunPreferedLeaderElectionInCluster runs leader election in Kafka cluster using CC

func UpScaleCluster

func UpScaleCluster(brokerId, namespace, ccEndpoint, clusterName string) error

UpScaleCluster upscales Kafka cluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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