Documentation ¶
Index ¶
- func GenerateCapacityConfig(kafkaCluster *v1beta1.KafkaCluster, log logr.Logger, config *corev1.ConfigMap) string
- func GeneratePodAnnotations(kafkaCluster *v1beta1.KafkaCluster, log logr.Logger, capacityConfig string) map[string]string
- type BrokerCapacity
- type Capacity
- type CruiseControlCapacityConfig
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCapacityConfig ¶
func GenerateCapacityConfig(kafkaCluster *v1beta1.KafkaCluster, log logr.Logger, config *corev1.ConfigMap) string
generateCapacityConfig generates a CC capacity config with default values or returns the manually overridden value if it exists
func GeneratePodAnnotations ¶ added in v0.12.0
Types ¶
type BrokerCapacity ¶
type CruiseControlCapacityConfig ¶
type CruiseControlCapacityConfig struct {
BrokerCapacities []BrokerCapacity `json:"brokerCapacities"`
}
type Reconciler ¶
type Reconciler struct {
resources.Reconciler
}
Reconciler implements the Component Reconciler
func New ¶
func New(client client.Client, cluster *v1beta1.KafkaCluster) *Reconciler
New creates a new reconciler for CC
Click to show internal directories.
Click to hide internal directories.