[Enhancement] Improve C# Native AOT support
Before Creating the Enhancement Request
- [x] I have confirmed that this should be classified as an enhancement rather than a bug/feature.
Programming Language of the Client
C#
Summary
Improve support for Native AOT
Motivation
Many developers in C# are using the Native AOT, it would be nice if RocketMQ could improve support for it.
Describe the Solution You'd Like
- Change logs to use source coding generation
- Change Regex to use source coding generation
- Update Open Telemetry package to 1.7+ (see https://github.com/open-telemetry/opentelemetry-dotnet/issues/3429)
- Add
IsAotCompatibleflags tocsproj
Describe Alternatives You've Considered
No
Additional Context
https://learn.microsoft.com/en-us/dotnet/core/extensions/logger-message-generator https://learn.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-source-generators https://devblogs.microsoft.com/dotnet/creating-aot-compatible-libraries/
It's depending on this issue to start the implementation https://github.com/apache/rocketmq-clients/issues/945
This issue is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs.
It would be nice to have
This issue is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs.
This issue was closed because it has been inactive for 3 days since being marked as stale.