customized ServiceInstanceCustomizer in dubbo 2.7.15 is not invoked #15533
Unanswered
Roronoa-Zoro
asked this question in
Question
Replies: 1 comment
-
|
I also test with this code, result is empty List<ServiceInstanceCustomizer> customizers = ExtensionLoader.getExtensionLoader(ServiceInstanceCustomizer.class).getLoadedExtensionInstances(); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-check
Apache Dubbo Component
Java SDK (apache/dubbo)
Details
dubbo 2.7.15

jdk 8
I want to add a parameter/metadata when service is exported, and I have this class.
and I try to put it under META-INF/dubbo/org.apache.dubbo.registry.client.ServiceInstanceCustomizer or META-INF/dubbo/internal/org.apache.dubbo.registry.client.ServiceInstanceCustomizer
and content is “param=com.example.demo.dubbo.ParamServiceInstanceCustomizer”
but this ParamServiceInstanceCustomizer is not invoked when server starts up, even if the dubbo internal class: ServiceInstanceMetadataCustomizer is also not invoked,
can anyone help ? Thanks
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions