Skip to content

Commit daf44bb

Browse files
authored
release eventhub (Azure#33047)
* release eventhub * Update sdk/eventhub/azure-eventhub/CHANGELOG.md * Update sdk/eventhub/azure-eventhub/CHANGELOG.md * split into paramtype * oops * date
1 parent e80a96e commit daf44bb

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

sdk/eventhub/azure-eventhub/CHANGELOG.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
# Release History
22

3-
## 5.11.5 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
3+
## 5.11.5 (2023-11-09)
84

95
### Bugs Fixed
106

11-
### Other Changes
7+
- Fixed a pyAMQP error where events split across multiple TransferFrames were depleting the link credit by more than 1 credit per message. ([#32767](https://github.com/Azure/azure-sdk-for-python/pull/32767))
128

139
## 5.11.4 (2023-08-08)
1410

sdk/eventhub/azure-eventhub/azure/eventhub/_producer_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,8 +832,9 @@ def close(self, *, flush: bool = True, **kwargs: Any) -> None:
832832
833833
:keyword bool flush: Buffered mode only. If set to True, events in the buffer will be sent
834834
immediately. Default is True.
835-
:keyword float or None timeout: Buffered mode only. Timeout to close the producer.
835+
:keyword timeout: Buffered mode only. Timeout to close the producer.
836836
Default is None which means no timeout.
837+
:paramtype timeout: float or None
837838
:rtype: None
838839
:raises EventHubError: If an error occurred when flushing the buffer if `flush` is set to True or closing the
839840
underlying AMQP connections in buffered mode.

sdk/eventhub/azure-eventhub/azure/eventhub/aio/_consumer_client_async.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,9 @@ class EventHubConsumerClient(
9898
If the port 5671 is unavailable/blocked in the network environment, `TransportType.AmqpOverWebsocket` could
9999
be used instead which uses port 443 for communication.
100100
:paramtype transport_type: ~azure.eventhub.TransportType
101-
:keyword dict[str, str or int] http_proxy: HTTP proxy settings. This must be a dictionary with the following
101+
:keyword http_proxy: HTTP proxy settings. This must be a dictionary with the following
102102
keys: `'proxy_hostname'` (str value) and `'proxy_port'` (int value).
103+
:paramtype http_proxy: dict[str, str or int] or None
103104
Additionally the following keys may also be present: `'username', 'password'`.
104105
:keyword checkpoint_store: A manager that stores the partition load-balancing and checkpoint data
105106
when receiving events. The checkpoint store will be used in both cases of receiving from all partitions

sdk/eventhub/azure-eventhub/azure/eventhub/aio/_producer_client_async.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,8 @@ async def flush(self, **kwargs: Any) -> None:
801801
Buffered mode only.
802802
Flush events in the buffer to be sent immediately if the client is working in buffered mode.
803803
804-
:keyword float or None timeout: Timeout to flush the buffered events, default is None which means no timeout.
804+
:keyword timeout: Timeout to flush the buffered events, default is None which means no timeout.
805+
:paramtype timeout: float or None
805806
:rtype: None
806807
:raises EventDataSendError: If the producer fails to flush the buffer within the given timeout
807808
in buffered mode.
@@ -819,8 +820,9 @@ async def close(self, *, flush: bool = True, **kwargs: Any) -> None:
819820
820821
:keyword bool flush: Buffered mode only. If set to True, events in the buffer will be sent
821822
immediately. Default is True.
822-
:keyword float or None timeout: Buffered mode only. Timeout to close the producer.
823+
:keyword timeout: Buffered mode only. Timeout to close the producer.
823824
Default is None which means no timeout.
825+
:paramtype timeout: float or None
824826
:rtype: None
825827
:raises EventHubError: If an error occurred when flushing the buffer if `flush` is set to True or closing the
826828
underlying AMQP connections in buffered mode.

0 commit comments

Comments
 (0)