You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/eventhub/azure-eventhub/CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
## 5.11.0 (2023-01-10)
4
4
5
+
Version 5.11.0 is our first stable release of the Azure Event Hubs client library based on a pure Python implemented AMQP stack.
6
+
5
7
### Features Added
6
8
7
9
- A new boolean keyword argument `uamqp_transport` has been added to sync and async `EventHubProducerClient`/`EventHubConsumerClient` constructors which indicates whether to use the `uamqp` library or the default pure Python AMQP library as the underlying transport.
@@ -12,6 +14,8 @@
12
14
13
15
### Other Changes
14
16
17
+
- The `message` attribute on `EventData`/`EventDataBatch`, which previously exposed the `uamqp.Message`, has been deprecated.
18
+
-`LegacyMessage`/`LegacyBatchMessage` objects returned by the `message` attribute on `EventData`/`EventDataBatch` have been introduced to help facilitate the transition.
15
19
- Removed uAMQP from required dependencies.
16
20
- Adding `uamqp >= 1.6.3` as an optional dependency for use with the `uamqp_transport` keyword.
Copy file name to clipboardExpand all lines: sdk/eventhub/azure-eventhub/README.md
+35-3Lines changed: 35 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -412,12 +412,44 @@ Reference documentation is available [here](https://azuresdkdocs.blob.core.windo
412
412
The EventHubs SDK integrates nicely with the [Schema Registry][schemaregistry_service] service and [Avro][avro].
413
413
For more information, please refer to [Schema Registry SDK][schemaregistry_repo] and [Schema Registry Avro Encoder SDK][schemaregistry_avroencoder_repo].
414
414
415
+
### Pure Python AMQP Transport and Backward Compatibility Support
416
+
417
+
The Azure Event Hubs client library is now based on a pure Python AMQP implementation. `uAMQP` has been removed as required dependency.
418
+
419
+
To use `uAMQP` as the underlying transport:
420
+
421
+
1. Install `uamqp` with pip.
422
+
423
+
```
424
+
$ pip install uamqp
425
+
```
426
+
427
+
2. Pass `uamqp_transport=True` during client construction.
428
+
429
+
```python
430
+
from azure.eventhub import EventHubProducerClient, EventHubConsumerClient
431
+
432
+
connection_str ='<< CONNECTION STRING FOR THE EVENT HUBS NAMESPACE >>'
0 commit comments