dubbo Can you set ConfigValidationUtils.MAX_LEGTH longer

bpsygsoo  于 2022-12-31  发布在  其他
关注(0)|答案(7)|浏览(199)

Exception in thread "thread-finconfig-firstLoad-pool-0" java.lang.IllegalStateException: Invalid file="-authorityFilter,-catconsumerfilter,-catproviderfilter,-dashboardFilter,-fintech_monitor,-fqtracerconsumer,-fqtracerprovider,-frameworkAttachmentCleConfigValidationUtilsanFilter,-ft_monitor,-ft_tracer_consumer,-ft_tracer_provider,-grpcFilter,-healthcheckfilter,-hystrixconsumerfilter,-ratelimiterfilter,-serviceinfofilter,-strace_log_monitor,-tr_monitor,-tracecontextfilter,-ucsProviderFilter" is longer than 200
at org.apache.dubbo.config.utils.ConfigValidationUtils.checkProperty(ConfigValidationUtils.java:583)
at org.apache.dubbo.config.utils.ConfigValidationUtils.checkMultiName(ConfigValidationUtils.java:558)
at org.apache.dubbo.config.utils.ConfigValidationUtils.checkMultiExtension(ConfigValidationUtils.java:520)
at org.apache.dubbo.config.utils.ConfigValidationUtils.validateAbstractInterfaceConfig(ConfigValidationUtils.java:298)
at org.apache.dubbo.config.utils.ConfigValidationUtils.validateReferenceConfig(ConfigValidationUtils.java:344)
at org.apache.dubbo.config.ReferenceConfig.checkAndUpdateSubConfigs(ReferenceConfig.java:420)
at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:193)
at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:158)

mcdcgff0

mcdcgff01#

case : The custom filter will be called circularly. The referer parameter can be used to destroy the closed loop, for example, to exclude some filters, but it may exceed the parameter length limit(ConfigValidationUtils.MAX_LEGTH)

3ks5zfa0

3ks5zfa02#

Please submit a PR to fix it.

Be aware, however, that this may result in an overly long registry content.

ldxq2e6h

ldxq2e6h3#

it is not easy to determine the proper length

332nm8kg

332nm8kg4#

Is it more reasonable for filter SPI strength exclusion to provide a prefix matching parameter, for example, according to the package name, other scenarios are similar

olqngx59

olqngx595#

Is it more reasonable for filter SPI strength exclusion to provide a prefix matching parameter, for example, according to the package name, other scenarios are similar

Sounds good. But can we figure out all the cases?

nwo49xxi

nwo49xxi6#

Is it more reasonable for filter SPI strength exclusion to provide a prefix matching parameter, for example, according to the package name, other scenarios are similar

Sounds good. But can we figure out all the cases?

Well, yes, I feel that we can't take all the scenarios into consideration. However, it seems that there may be a large demand for customization of cluster and filter layer. Can we start with these two?

h4cxqtbf

h4cxqtbf7#

Is it more reasonable for filter SPI strength exclusion to provide a prefix matching parameter, for example, according to the package name, other scenarios are similar

Sounds good. But can we figure out all the cases?

Well, yes, I feel that we can't take all the scenarios into consideration. However, it seems that there may be a large demand for customization of cluster and filter layer. Can we start with these two?

Sure

相关问题