【发布时间】:2021-11-28 11:26:11
【问题描述】:
我需要使用 Mongo Connect 覆盖一些属性。我在 connect-distributed.properties 中添加了行 connector.client.config.override.policy=ALL 就像在这个教程中 https://debezium.io/documentation/faq/#how_to_enlarge_the_maximum_size_of_the_message_delivered_to_kafka
但在配置中添加选项 producer.override.max.request.size 后,我就开始了
The 'None' policy does not allow 'max.request.size' to be overridden in the connector configuration.
可能是什么错误?
【问题讨论】:
-
您是否重新启动了 Connect 集群?属性文件只在启动时读取
-
是的。我使用 Confluent 的平台。我更改了文件,重新启动了服务器,但发现异常
-
如果你已经正确设置了值,那么错误不应该说你正在使用
'None' policy
标签: apache-kafka apache-kafka-connect