Azure / azure-sdk-for-cpp

This repository is for active development of the Azure SDK for C++. For consumers of the SDK we recommend visiting our versioned developer docs at https://azure.github.io/azure-sdk-for-cpp.
MIT License
181 stars 126 forks source link

Implement receiving messages; Changes to eventhubs so that all eventhubs tests pass #6254

Open LarryOsterman opened 3 days ago

LarryOsterman commented 3 days ago

Implement AMQP Receiver and get all EventHub tests to pass(!)

The primary set of changes in this PR are a number of assorted changes to EventHubs to adopt the message consumer to the AMQP changes associated with the Rust AMQP stack - these changes are relatively small, mostly adding Open and Close methods to the various AMQP constructs.

In addition, there are changes to the Rust AMQP stack (which are covered in a separate PR into the Rust repo) and a new message_receiver.rs file which contains the wrapper functions for the message receiver.

Github Summary of changes.

This pull request introduces significant refactoring and improvements to the sdk/core/azure-core-amqp module, specifically focusing on the message receiver implementation and its integration with Rust. The most important changes include replacing the existing message receiver with a Rust-based implementation, updating related APIs, and simplifying the codebase.

Refactoring and Integration with Rust:

API Updates:

Code Simplification:

Additional Improvements:

azure-sdk commented 2 days ago

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-core-amqp-cpp