Chapter 6. Known issues

This section lists the known issues for AMQ Streams 1.5.

Issue Number

ENTMQST-2060 - Cruise Control default hard.goals still include unsupported goals

Description and workaround

If you create a KafkaRebalance custom resource containing one or more supported optimization goals in the goals field, Cruise Control returns the following error:

Missing hard goals [NetworkInboundCapacityGoal, DiskCapacityGoal, RackAwareGoal, NetworkOutboundCapacityGoal, CpuCapacityGoal, ReplicaCapacityGoal] in the provided goals...

To workaround this error, do one of the following:

  • Add skipHardGoalCheck: true to the KafkaRebalance custom resource:

    apiVersion: kafka.strimzi.io/v1alpha1
    kind: KafkaRebalance
    metadata:
      name: my-rebalance
      labels:
        strimzi.io/cluster: my-cluster
    spec:
      goals:
        - NetworkInboundCapacityGoal
        - DiskCapacityGoal
        - RackAwareGoal
        - NetworkOutboundCapacityGoal
        - ReplicaCapacityGoal
      skipHardGoalCheck: true
  • Specify the following hard goals in the the cruiseControl property in the Kafka resource:

    apiVersion: kafka.strimzi.io/v1beta1
    kind: Kafka
    metadata:
      name: my-cluster
    spec:
      cruiseControl:
      config:
        hard.goals: >
          com.linkedin.kafka.cruisecontrol.analyzer.goals.RackAwareGoal,
          com.linkedin.kafka.cruisecontrol.analyzer.goals.ReplicaCapacityGoal,
          com.linkedin.kafka.cruisecontrol.analyzer.goals.DiskCapacityGoal,
          com.linkedin.kafka.cruisecontrol.analyzer.goals.NetworkInboundCapacityGoal,
          com.linkedin.kafka.cruisecontrol.analyzer.goals.NetworkOutboundCapacityGoal