You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/12/20 03:22:58 UTC

[GitHub] [dubbo] XDanwar opened a new issue, #11169: Can you set ConfigValidationUtils.MAX_LEGTH longer

XDanwar opened a new issue, #11169:
URL: https://github.com/apache/dubbo/issues/11169

   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)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] XDanwar commented on issue #11169: Can you set ConfigValidationUtils.MAX_LEGTH longer

Posted by GitBox <gi...@apache.org>.
XDanwar commented on issue #11169:
URL: https://github.com/apache/dubbo/issues/11169#issuecomment-1362376895

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] XDanwar commented on issue #11169: Can you set ConfigValidationUtils.MAX_LEGTH longer

Posted by GitBox <gi...@apache.org>.
XDanwar commented on issue #11169:
URL: https://github.com/apache/dubbo/issues/11169#issuecomment-1360989214

   it is not easy to determine the proper length
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #11169: Can you set ConfigValidationUtils.MAX_LEGTH longer

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #11169:
URL: https://github.com/apache/dubbo/issues/11169#issuecomment-1361503353

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] XDanwar commented on issue #11169: Can you set ConfigValidationUtils.MAX_LEGTH longer

Posted by GitBox <gi...@apache.org>.
XDanwar commented on issue #11169:
URL: https://github.com/apache/dubbo/issues/11169#issuecomment-1360991761

   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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #11169: Can you set ConfigValidationUtils.MAX_LEGTH longer

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #11169:
URL: https://github.com/apache/dubbo/issues/11169#issuecomment-1362771063

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #11169: Can you set ConfigValidationUtils.MAX_LEGTH longer

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #11169:
URL: https://github.com/apache/dubbo/issues/11169#issuecomment-1359479223

   Please submit a PR to fix it.
   
   Be aware, however, that this may result in an overly long registry content.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] XDanwar commented on issue #11169: Can you set ConfigValidationUtils.MAX_LEGTH longer

Posted by GitBox <gi...@apache.org>.
XDanwar commented on issue #11169:
URL: https://github.com/apache/dubbo/issues/11169#issuecomment-1358789420

   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)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org