我们可以为生产者配置设置自定义值 'delivery.timeout.ms' 吗?
Can we set a custom value for the producer configuration 'delivery.timeout.ms'?
我正在使用 apache kafka 客户端 2.0.1,我正在查看 class ProducerConfig
,但没有找到 属性 delivery.timeout.ms
。这是否意味着我们不能覆盖此生产者配置来设置自定义值?
此参数是通过 KIP-91 引入的。
KIP 是在 Kafka 中实现的 version 2.1.0。
Released Nov 20, 2018
Kafka 2.1.0 includes a number of significant new features. Here is a
summary of some notable changes:
- Java 11 support
- Support for Zstandard, which achieves compression comparable to gzip with higher compression and especially decompression speeds
(KIP-110)
- Avoid expiring committed offsets for active consumer group (KIP-211)
- Provide Intuitive User Timeouts in The Producer (KIP-91)
- ...
是时候升级了:)
我正在使用 apache kafka 客户端 2.0.1,我正在查看 class ProducerConfig
,但没有找到 属性 delivery.timeout.ms
。这是否意味着我们不能覆盖此生产者配置来设置自定义值?
此参数是通过 KIP-91 引入的。
KIP 是在 Kafka 中实现的 version 2.1.0。
Released Nov 20, 2018
Kafka 2.1.0 includes a number of significant new features. Here is a summary of some notable changes:
- Java 11 support
- Support for Zstandard, which achieves compression comparable to gzip with higher compression and especially decompression speeds (KIP-110)
- Avoid expiring committed offsets for active consumer group (KIP-211)
- Provide Intuitive User Timeouts in The Producer (KIP-91)
- ...
是时候升级了:)