chickenlj opened a new pull request, #10015:
URL: https://github.com/apache/dubbo/pull/10015
related issue #9990
New definition of ParamsFilter is as below
```java
/**
* This filter applies an either 'include' or 'exclude' policy with
'include' having higher priority.
* That means if 'include' is specified then params specified in 'exclude'
will be ignored
*
* If multiple Filter extensions are provided, then,
* 1. All params specified as should be included within different Filter
extension instances will determine the params that will finally be used.
* 2. If none of the Filter extensions specified any params as should be
included, then the final effective params would be those left after removed all
the params specified as should be excluded.
*
* It is recommended for most users to use 'exclude' policy for service
params and 'include' policy for instance params.
* Please use 'params-filter=-default, -filterName1, filterName2' to
activate or deactivate filter extensions.
*/
@SPI
public interface MetadataParamsFilter {
*/
String[] serviceParamsIncluded();
/**
* params that need to be excluded before sending to metadata center
*
* @return arrays of keys
*/
String[] serviceParamsExcluded();
/**
* params that need to be sent to registry center
*
* @return arrays of keys
*/
String[] instanceParamsIncluded();
/**
* params that need to be excluded before sending to registry center
*
* @return arrays of keys
*/
String[] instanceParamsExcluded();
}
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]