简体   繁体   English

如何使用KafkaAdminClient设置配额限制?

[英]How to user KafkaAdminClient to set Quota limits?

I find alterConfigs in KafkaAdminClient,So I want to set Quota limits via KafkaAdminClient, Can it even possible? 我在KafkaAdminClient中找到了alterConfigs,所以我想通过KafkaAdminClient设置配额限制,有可能吗? and How to set the config Map? 以及如何设置配置图?

Thanks. 谢谢。

Currently, quota-related broker configs can only be updated using Zookeeper(namely by ConfigCommand). 当前,与配额相关的代理配置只能使用Zookeeper(即通过ConfigCommand)进行更新。 Users cannot set these values by AdminClient. 用户无法通过AdminClient设置这些值。 KIP-248 will migrate all of the functions to the new AdminClient. KIP-248将所有功能迁移到新的AdminClient。 See it for more details. 有关更多详细信息,请参见它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM