Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.35k stars 1.98k forks source link

Remove legacy in-house-built AmqpChannelProcessor #33700

Open anuchandy opened 1 year ago

anuchandy commented 1 year ago

This is an uber work item with two phases to remove legacy in-house-built AmqpChannelProcessor in favor of cache invalidation operator. The migration will save the dev team from owning complex code with multi-threads and locks. Additionally, the resulting recovery flow and associated coordinations produce better logs.

  1. [Phase_1] Implement ReactorConnectionCache (released as a beta in Jan-2023).
  2. [Phase_2] Implement RequestResponseChannelCache.
  3. [Span over two phases] Use the caches in Event Hubs and Service Bus.
### Tasks
- [ ] https://github.com/Azure/azure-sdk-for-java/issues/29335
- [ ] https://github.com/Azure/azure-sdk-for-java/issues/29992
anuchandy commented 1 year ago

The types ReactorConnectionCache and RequestResponseChannelCache are implemented in the PR https://github.com/Azure/azure-sdk-for-java/pull/34854. Also integreated ReactorConnectionCache with SB and RequestResponseChannelCache integration with SB is in progress.

EH integration is in the backlog (First we've to ship SB, then only integration with EH start)