chickenlj commented on issue #9675:
URL: https://github.com/apache/dubbo/issues/9675#issuecomment-1053923495


   If you are using Service Discovery model, aka application-level registry, 
please also extend `org.apache.dubbo.metadata.MetadataParamsFilter` to 
customize the keys adding to instance URL
   
   ```java
   @Activate
   public class CustomizedParamsFilter implements MetadataParamsFilter {
   
       @Override
       public String[] serviceParamsIncluded() {
           return new String[]{"timestamp"};
       }
   
       /**
        * Not included in this test
        */
       @Override
       public String[] instanceParamsIncluded() {
           return new String[0];
       }
   }
   ```


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

Reply via email to