此内容没有您所选择的语言版本。

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. 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

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

The default is sixty seconds for both.

Groups properties

  • oauth.groups.claim specifies a JsonPath query to extract groups information from a JWT token or introspection endpoint response. Not set by default.
  • oauth.groups.claim.delimiter 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

listener.name.client.oauthbearer.sasl.jaas.config=org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule required \
  # ...
  oauth.connect.timeout.seconds=60
  oauth.read.timeout.seconds=60
  oauth.groups.claim="$.groups"
  oauth.groups.claim.delimiter=","
Copy to Clipboard Toggle word wrap

See Rebalance performance tuning.

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat