kafka

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricsHealthCheck = "/-/healthy"
	MetricsPort        = 9020
)

Variables

This section is empty.

Functions

func GetBrokersWithPendingOrRunningCCTask

func GetBrokersWithPendingOrRunningCCTask(kafkaCluster *v1beta1.KafkaCluster) []int32

GetBrokersWithPendingOrRunningCCTask returns list of brokers that are either waiting for CC to start executing a broker task (add broker, remove broker, etc) or CC already running a task for it.

Types

type Reconciler

type Reconciler struct {
	resources.Reconciler
	// contains filtered or unexported fields
}

Reconciler implements the Component Reconciler

func New

func New(client client.Client, directClient client.Reader, cluster *v1beta1.KafkaCluster, kafkaClientProvider kafkaclient.Provider) *Reconciler

New creates a new reconciler for Kafka

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(log logr.Logger) error

Reconcile implements the reconcile logic for Kafka

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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