이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 2. Enhancements


AMQ Streams 2.1 adds a number of enhancements.

2.1. Kafka 3.1.0 enhancements

For an overview of the enhancements introduced with Kafka 3.1.0, refer to the Kafka 3.1.0 Release Notes.

2.2. Running AMQ Streams on a FIPS-enabled cluster

You can now run AMQ Streams on a FIPS-enabled cluster, although currently not in a FIPS-compliant configuration.

The OpenJDK used in AMQ Streams container images will automatically switch to FIPS mode on a FIPS-enabled cluster. This prevents AMQ Streams from running on the cluster.

To run AMQ Streams on a FIPS-enabled cluster, you disable the OpenJDK FIPS mode by setting a FIPS_MODE environment variable to disabled in the deployment configuration for the Cluster Operator. The AMQ Streams deployment won’t be FIPS compliant, but the AMQ Streams operators as well as all of its operands will be able to run on the FIPS-enabled Kubernetes cluster.

Example FIPS configuration for the Cluster Operator

apiVersion: apps/v1
kind: Deployment
spec:
  # ...
  template:
    spec:
      serviceAccountName: strimzi-cluster-operator
      containers:
        # ...
        env:
        # ...
        - name: "FIPS_MODE"
          value: "disabled" 
1

  # ...

1
Disables the FIPS mode.

See Configuring FIPS mode in the Cluster Operator.

2.3. Cruise Control intra-broker disk balancing

Note

Cruise Control remains in Technology Preview.

If you are running a Kafka deployment that uses JBOD storage with multiple disks on the same broker, Cruise Control can balance partitions between the disks.

You use the rebalanceDisk configuration option. To perform an intra-broker disk balance, you set rebalanceDisk to true under the KafkaRebalance.spec.

See Rebalance performance tuning.

2.4. Feature gates move to beta maturity

The feature gates ControlPlaneListener and ServiceAccountPatching move to beta maturity. This means that they are both enabled by default.

Feature gates at the beta level of maturity are well tested and their functionality is not likely to change.

See Configuring feature gates and Feature gate releases.

Important

The ControlPlaneListener feature gate must be disabled when upgrading from or downgrading to AMQ Streams 1.7 and earlier versions.

2.5. Loadbalancer Listener bootstrap service

A new listener configuration property let’s you control whether or not to create a bootstrap service for a loadBalancer type of listener. A <cluster_name>-kafka-external-bootstrap bootstrap service is created by default for a Kafka cluster. You can choose not to create the service for a loadbalancer by setting the createBootstrapService property to false in the listener configuration.

Example configuration for a loadbalancer external listener that does not create a bootsrap service

listeners:
  #...
  - name: external
    port: 9094
    type: loadbalancer
    tls: true
    authentication:
      type: tls
    configuration:
      createBootstrapService: false
      # ...
# ...

See GenericKafkaListenerConfiguration schema properties.

2.6. OAuth configuration options

New OAuth configuration properties have been introduced to the OAuth authentication configuration.

The properties related to timeouts and extracting groups information.

Timout properties

  • connectTimeoutSeconds specifies the maximum time in seconds to connect to an authorization server before a timeout.
  • readTimeoutSeconds specifies the maximum time in seconds to read from an authorization server before a timeout.

The default is sixty seconds for both.

Groups properties

  • groupsClaim specifies a JsonPath query to extract groups information from a JWT token or introspection endpoint response. Not set by default.
  • groupsClaimDelimiter specifies a delimiter to parse groups information when returned as a single delimited string. The default value is ',' (comma).

Example OAuth configuration for a Kafka broker listener

#...
- name: external
  port: 9094
  type: loadbalancer
  tls: true
  authentication:
    type: oauth
    # ...
    connectTimeoutSeconds: 60
    readTimeoutSeconds: 60
    groupsClaim: "$.groups"
    groupsClaimDelimiter: ","

See KafkaListenerAuthenticationOAuth schema reference and KafkaClientAuthenticationOAuth schema properties.

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동