python eventhubs release notes for July (#1522)

* python eventhubs 2020/07 release notes

* change management lib eventhub name
This commit is contained in:
Yijun Xie 2020-07-07 11:18:22 -07:00 коммит произвёл GitHub
Родитель 58a090cedd
Коммит b6b6307c9c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 16 добавлений и 1 удалений

Просмотреть файл

@ -24,9 +24,10 @@ The Azure SDK team is pleased to make available the July 2020 client library rel
- Management Library - Storage
- Management Library - Monitor
- Management Library - AppConfiguration
- Management Library - EventHub
- Management Library - Event Hubs
- Management Library - KeyVault
- Service Bus
- Event Hubs
- Form Recognizer
- Identity
@ -44,6 +45,7 @@ pip install --pre azure-mgmt-appconfiguration
pip install --pre azure-mgmt-eventhub
pip install --pre azure-mgmt-keyvault
pip install --pre azure-servicebus
pip install --pre azure-eventhub
pip install azure-ai-formrecognizer
pip install --pre azure-identity
pip install azure-search-documents
@ -79,6 +81,19 @@ You can find the list of new packages [on this page](https://azure.github.io/azu
`schedule()` -> `schedule_messages()`
`send()` -> `send_messages()`
### Event Hubs [Changelog](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/eventhub/azure-eventhub/CHANGELOG.md)
#### New Features
- `EventHubConsumerClient` constructor accepts two new parameters for the load balancer.
- `load_balancing_strategy`, which can be "greedy" or "balanced".
With greedy strategy, one execution of load balancing will claim as many partitions as required to balance the load
whereas with balanced strategy one execution of load balancing will claim at most 1 partition.
- `partition_ownership_expiration_interval`, which allows you to customize the partition ownership expiration for load balancing.
A consumer client may lose its owned partitions more often with a smaller expiration interval. But a larger interval
may result in idle partitions not being claimed for longer time.
- Added enum class `azure.eventhub.LoadBalancingStrategy` for `load_balancing_strategy`.
### Form Recognizer [Changelog](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md#100b4-2020-07-07)
#### Breaking changes