GitHub user lakewatcher created a discussion: [Q/A][Java21] Does Dubbo metadata 
support the reporting of annotations ( which are tripe's basic Mapping ...) on 
interfaces and implementation classes

### Pre-check

- [X] I am sure that all the content I provide is in English.


### Apache Dubbo Component

Java SDK (apache/dubbo)

### Details

JDK21 & Dubbo3.3 

Does Dubbo metadata support the reporting of annotations ( which are tripe's 
basic Mapping ...) on interfaces and implementation classes.

When I add Dubbo basic annotations to the interface, it upload metadata to the 
configuration center of the Nacos service ,like :
<img width="839" height="439" alt="image" 
src="https://github.com/user-attachments/assets/578a72cd-d1a6-4ab5-b34f-46d8fe294856";
 />

However, when annotations are written on implementation classes, metadata 
cannot be found.

The JAR of the interface is referenced by other projects, making it 
inconvenient to add annotations, and the implementation class cannot obtain 
annotations .   if there are any issues with this plan , we monitor metadata to 
automatically register the gateway. 

### Code of Conduct

- [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)


GitHub link: https://github.com/apache/dubbo/discussions/15685

----
This is an automatically sent email for notifications@dubbo.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@dubbo.apache.org


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

Reply via email to