glynnwei commented on issue #14173:
URL: https://github.com/apache/dubbo/issues/14173#issuecomment-2144986963

   > your jdk:1.8 requirement:jdk-17
   
   Support 1.8, do not change 17
   
org.apache.dubbo.springboot.skywalking.demo.provider.ObservationConfiguration 
add fix code:
   ```
   @ConditionalOnBean(ObservationRegistry.class)
   @Bean
   ApplicationModel applicationModel(@Autowired ObservationRegistry 
observationRegistry) {
       ApplicationModel applicationModel = ApplicationModel.defaultModel();
       observationRegistry.observationConfig()
               .observationHandler(new 
ObservationHandler.FirstMatchingCompositeObservationHandler(
                       new SkywalkingSenderTracingHandler(), new 
SkywalkingReceiverTracingHandler(),
                       new SkywalkingDefaultTracingHandler()
               ));
       applicationModel.getBeanFactory().registerBean(observationRegistry);
       return applicationModel;
   }
   ```
   


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