From cb13bd8718a487427e66cbd3324e170da2163025 Mon Sep 17 00:00:00 2001 From: yijxie Date: Fri, 14 Feb 2020 11:23:21 -0800 Subject: [PATCH 1/7] Increment version --- .../azure-eventhub-checkpointstoreblob-aio/CHANGELOG.md | 2 ++ .../eventhub/extensions/checkpointstoreblobaio/_version.py | 2 +- sdk/eventhub/azure-eventhub-checkpointstoreblob/CHANGELOG.md | 2 ++ .../azure/eventhub/extensions/checkpointstoreblob/_version.py | 2 +- sdk/eventhub/azure-eventhub/CHANGELOG.md | 2 ++ sdk/eventhub/azure-eventhub/azure/eventhub/_version.py | 2 +- 6 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/CHANGELOG.md b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/CHANGELOG.md index 8e929a30f01f..4d6010a3249a 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/CHANGELOG.md +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/CHANGELOG.md @@ -1,5 +1,7 @@ # Release History +## 1.0.1 (Unreleased) + ## 1.0.0 (2020-01-13) Stable release. No new features or API changes. diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/azure/eventhub/extensions/checkpointstoreblobaio/_version.py b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/azure/eventhub/extensions/checkpointstoreblobaio/_version.py index 8eedef9ba349..010063f9dd93 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/azure/eventhub/extensions/checkpointstoreblobaio/_version.py +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/azure/eventhub/extensions/checkpointstoreblobaio/_version.py @@ -3,4 +3,4 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "1.0.0" +VERSION = "1.0.1" diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob/CHANGELOG.md b/sdk/eventhub/azure-eventhub-checkpointstoreblob/CHANGELOG.md index 2498f3200d83..bbae3dace509 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob/CHANGELOG.md +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob/CHANGELOG.md @@ -1,5 +1,7 @@ # Release History +## 1.0.1 (Unreleased) + ## 1.0.0 (2020-01-13) Stable release. No new features or API changes. diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob/azure/eventhub/extensions/checkpointstoreblob/_version.py b/sdk/eventhub/azure-eventhub-checkpointstoreblob/azure/eventhub/extensions/checkpointstoreblob/_version.py index 8eedef9ba349..010063f9dd93 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob/azure/eventhub/extensions/checkpointstoreblob/_version.py +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob/azure/eventhub/extensions/checkpointstoreblob/_version.py @@ -3,4 +3,4 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "1.0.0" +VERSION = "1.0.1" diff --git a/sdk/eventhub/azure-eventhub/CHANGELOG.md b/sdk/eventhub/azure-eventhub/CHANGELOG.md index 6e48b02ca198..43675644db6b 100644 --- a/sdk/eventhub/azure-eventhub/CHANGELOG.md +++ b/sdk/eventhub/azure-eventhub/CHANGELOG.md @@ -1,5 +1,7 @@ # Release History +## 5.0.1 (Unreleased) + ## 5.0.0 (2020-01-13) **Breaking changes** diff --git a/sdk/eventhub/azure-eventhub/azure/eventhub/_version.py b/sdk/eventhub/azure-eventhub/azure/eventhub/_version.py index 7330e03f2b28..aeddf5ca4e16 100644 --- a/sdk/eventhub/azure-eventhub/azure/eventhub/_version.py +++ b/sdk/eventhub/azure-eventhub/azure/eventhub/_version.py @@ -3,4 +3,4 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "5.0.0" +VERSION = "5.0.1" From 38e9f65493683c04c69040b11433dd6b02017f98 Mon Sep 17 00:00:00 2001 From: yijxie Date: Fri, 14 Feb 2020 11:23:39 -0800 Subject: [PATCH 2/7] Update Development Status --- sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/setup.py | 2 +- sdk/eventhub/azure-eventhub-checkpointstoreblob/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/setup.py b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/setup.py index 0b13ff1bbb0f..88f1fd79f107 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/setup.py +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/setup.py @@ -53,7 +53,7 @@ author_email='azpysdkhelp@microsoft.com', url='https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio', classifiers=[ - 'Development Status :: 3 - Alpha', + 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob/setup.py b/sdk/eventhub/azure-eventhub-checkpointstoreblob/setup.py index a6bbf648336d..40f6e926ed84 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob/setup.py +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob/setup.py @@ -53,7 +53,7 @@ author_email='azpysdkhelp@microsoft.com', url='https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/eventhub/azure-eventhub-checkpointstoreblob', classifiers=[ - 'Development Status :: 3 - Alpha', + 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', From f4495f3fda824c95799a7ff54e44e9d5d2790746 Mon Sep 17 00:00:00 2001 From: yijxie Date: Fri, 6 Mar 2020 07:21:24 -0800 Subject: [PATCH 3/7] Adjust Logging section position --- .../README.md | 17 ++++++++--------- .../README.md | 17 ++++++++--------- sdk/eventhub/azure-eventhub/README.md | 12 ++++++------ 3 files changed, 22 insertions(+), 24 deletions(-) diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/README.md b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/README.md index 8899e63264a2..ab3ae25dcbc3 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/README.md +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/README.md @@ -107,7 +107,14 @@ version, specify `api_version` when you create the `BlobCheckpointStore` object. ### General Enabling logging will be helpful to do trouble shooting. -Refer to [Logging](#logging) to enable loggers for related libraries. + +### Logging + +- Enable `azure.eventhub.extensions.checkpointstoreblobaio` logger to collect traces from the library. +- Enable `azure.eventhub` logger to collect traces from the main azure-eventhub library. +- Enable `azure.eventhub.extensions.checkpointstoreblobaio._vendor.storage` logger to collect traces from azure storage blob library. +- Enable `uamqp` logger to collect traces from the underlying uAMQP library. +- Enable AMQP frame level trace by setting `logging_enable=True` when creating the client. ## Next steps @@ -118,14 +125,6 @@ Refer to [Logging](#logging) to enable loggers for related libraries. Reference documentation is available [here](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-eventhub/5.0.0/azure.eventhub.aio.html#azure.eventhub.aio.CheckpointStore) -### Logging - -- Enable `azure.eventhub.extensions.checkpointstoreblobaio` logger to collect traces from the library. -- Enable `azure.eventhub` logger to collect traces from the main azure-eventhub library. -- Enable `azure.eventhub.extensions.checkpointstoreblobaio._vendor.storage` logger to collect traces from azure storage blob library. -- Enable `uamqp` logger to collect traces from the underlying uAMQP library. -- Enable AMQP frame level trace by setting `logging_enable=True` when creating the client. - ### Provide Feedback If you encounter any bugs or have suggestions, please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) section of the project. diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob/README.md b/sdk/eventhub/azure-eventhub-checkpointstoreblob/README.md index 2c79471730f3..b1d96d4a191c 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob/README.md +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob/README.md @@ -105,7 +105,14 @@ version, specify `api_version` when you create the `BlobCheckpointStore` object. ### General Enabling logging will be helpful to do trouble shooting. -Refer to [Logging](#logging) to enable loggers for related libraries. + +### Logging + +- Enable `azure.eventhub.extensions.checkpointstoreblob` logger to collect traces from the library. +- Enable `azure.eventhub` logger to collect traces from the main azure-eventhub library. +- Enable `azure.eventhub.extensions.checkpointstoreblob._vendor.storage` logger to collect traces from azure storage blob library. +- Enable `uamqp` logger to collect traces from the underlying uAMQP library. +- Enable AMQP frame level trace by setting `logging_enable=True` when creating the client. ## Next steps @@ -116,14 +123,6 @@ Refer to [Logging](#logging) to enable loggers for related libraries. Reference documentation is available [here](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-eventhub/5.0.0/azure.eventhub.html#azure.eventhub.CheckpointStore) -### Logging - -- Enable `azure.eventhub.extensions.checkpointstoreblob` logger to collect traces from the library. -- Enable `azure.eventhub` logger to collect traces from the main azure-eventhub library. -- Enable `azure.eventhub.extensions.checkpointstoreblob._vendor.storage` logger to collect traces from azure storage blob library. -- Enable `uamqp` logger to collect traces from the underlying uAMQP library. -- Enable AMQP frame level trace by setting `logging_enable=True` when creating the client. - ### Provide Feedback If you encounter any bugs or have suggestions, please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) section of the project. diff --git a/sdk/eventhub/azure-eventhub/README.md b/sdk/eventhub/azure-eventhub/README.md index cba5a2a7ec63..8bd654ef101d 100644 --- a/sdk/eventhub/azure-eventhub/README.md +++ b/sdk/eventhub/azure-eventhub/README.md @@ -351,6 +351,12 @@ The Event Hubs APIs generate the following exceptions in azure.eventhub.exceptio - **OperationTimeoutError:** EventHubConsumer.send() times out. - **EventHubError:** All other Eventhubs related errors. It is also the root error class of all the errors described above. +### Logging + +- Enable `azure.eventhub` logger to collect traces from the library. +- Enable `uamqp` logger to collect traces from the underlying uAMQP library. +- Enable AMQP frame level trace by setting `logging_enable=True` when creating the client. + ## Next steps ### More sample code @@ -361,12 +367,6 @@ Please take a look at the [samples](./samples) directory for detailed examples o Reference documentation is available [here](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-eventhub/5.0.0/azure.eventhub.html). -### Logging - -- Enable `azure.eventhub` logger to collect traces from the library. -- Enable `uamqp` logger to collect traces from the underlying uAMQP library. -- Enable AMQP frame level trace by setting `logging_enable=True` when creating the client. - ### Provide Feedback If you encounter any bugs or have suggestions, please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) section of the project. From 989d542b1c839058d010351296a97f2767717188 Mon Sep 17 00:00:00 2001 From: yijxie Date: Fri, 6 Mar 2020 07:33:37 -0800 Subject: [PATCH 4/7] Update release date --- .../azure-eventhub-checkpointstoreblob-aio/CHANGELOG.md | 2 +- sdk/eventhub/azure-eventhub-checkpointstoreblob/CHANGELOG.md | 2 +- sdk/eventhub/azure-eventhub/CHANGELOG.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/CHANGELOG.md b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/CHANGELOG.md index e1463cf0a509..14ca0e5ee4b1 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/CHANGELOG.md +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.0.1 (Unreleased) +## 1.0.1 (2020-03-09) **New features** - Param `api_version` of `BlobCheckpointStore` now supports older versions of Azure Storage Service API. diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob/CHANGELOG.md b/sdk/eventhub/azure-eventhub-checkpointstoreblob/CHANGELOG.md index ae1d456dae7c..8d3ebe47fb12 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob/CHANGELOG.md +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.0.1 (Unreleased) +## 1.0.1 (2020-03-09) **New features** - Param `api_version` of `BlobCheckpointStore` now supports older versions of Azure Storage Service API. diff --git a/sdk/eventhub/azure-eventhub/CHANGELOG.md b/sdk/eventhub/azure-eventhub/CHANGELOG.md index 5787da31cfbb..76470cfd3df7 100644 --- a/sdk/eventhub/azure-eventhub/CHANGELOG.md +++ b/sdk/eventhub/azure-eventhub/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 5.0.1 (Unreleased) +## 5.0.1 (2020-03-09) **Bug fixes** From 3859e9f614f4fa7656f8baafae2167f9010fe735 Mon Sep 17 00:00:00 2001 From: yijxie Date: Fri, 6 Mar 2020 10:45:02 -0800 Subject: [PATCH 5/7] Update bug fix desc --- sdk/eventhub/azure-eventhub/CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk/eventhub/azure-eventhub/CHANGELOG.md b/sdk/eventhub/azure-eventhub/CHANGELOG.md index 76470cfd3df7..92ddd15cbcd7 100644 --- a/sdk/eventhub/azure-eventhub/CHANGELOG.md +++ b/sdk/eventhub/azure-eventhub/CHANGELOG.md @@ -4,7 +4,9 @@ **Bug fixes** -- Fixed a bug that `azure.eventhub.EventHubConsumerClient.receive()` doesn't call error handler callback on_error #9660 +- Fixed a bug that swallowed errors when receiving events with the sync `azure.eventhub.EventHubConsumerClient` #9660 +- Fixed a bug that caused `get_eventhub_properties`, `get_partition_ids`, and `get_partition_properties` to raise +and error on Azure Stack #9920 ## 5.0.0 (2020-01-13) From 4da21706a06616e89d708be67fb850af7a45d1a1 Mon Sep 17 00:00:00 2001 From: yijxie Date: Fri, 6 Mar 2020 10:59:36 -0800 Subject: [PATCH 6/7] Update Prerequisite position --- .../README.md | 13 ++++++------ .../README.md | 14 ++++++------- sdk/eventhub/azure-eventhub/README.md | 20 +++++++++---------- 3 files changed, 23 insertions(+), 24 deletions(-) diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/README.md b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/README.md index ab3ae25dcbc3..dd6f91577014 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/README.md +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/README.md @@ -9,13 +9,7 @@ Please note that this is an async library, for sync version of the Azure EventHu ## Getting started -### Install the package - -``` -$ pip install azure-eventhub-checkpointstoreblob-aio -``` - -**Prerequisites** +### Prerequisites - Python 3.5.3 or later. - **Microsoft Azure Subscription:** To use Azure services, including Azure Event Hubs, you'll need a subscription. If you do not have an existing Azure account, you may sign up for a free trial or use your MSDN subscriber benefits when you [create an account](https://azure.microsoft.com/en-us/). @@ -24,6 +18,11 @@ $ pip install azure-eventhub-checkpointstoreblob-aio - **Azure Storage Account:** You'll need to have an Azure Storage Account and create a Azure Blob Storage Block Container to store the checkpoint data with blobs. You may follow the guide [creating an Azure Block Blob Storage Account](https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-create-account-block-blob). +### Install the package + +``` +$ pip install azure-eventhub-checkpointstoreblob-aio +``` ## Key concepts diff --git a/sdk/eventhub/azure-eventhub-checkpointstoreblob/README.md b/sdk/eventhub/azure-eventhub-checkpointstoreblob/README.md index b1d96d4a191c..839410f8a1f5 100644 --- a/sdk/eventhub/azure-eventhub-checkpointstoreblob/README.md +++ b/sdk/eventhub/azure-eventhub-checkpointstoreblob/README.md @@ -9,13 +9,7 @@ Please note that this is a sync library, for async version of the Azure EventHub ## Getting started -### Install the package - -``` -$ pip install azure-eventhub-checkpointstoreblob -``` - -**Prerequisites** +### Prerequisites - Python2.7, Python 3.5.3 or later. - **Microsoft Azure Subscription:** To use Azure services, including Azure Event Hubs, you'll need a subscription. If you do not have an existing Azure account, you may sign up for a free trial or use your MSDN subscriber benefits when you [create an account](https://azure.microsoft.com/en-us/). @@ -24,6 +18,12 @@ $ pip install azure-eventhub-checkpointstoreblob - **Azure Storage Account:** You'll need to have an Azure Storage Account and create a Azure Blob Storage Block Container to store the checkpoint data with blobs. You may follow the guide [creating an Azure Block Blob Storage Account](https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-create-account-block-blob). +### Install the package + +``` +$ pip install azure-eventhub-checkpointstoreblob +``` + ## Key concepts ### Checkpointing diff --git a/sdk/eventhub/azure-eventhub/README.md b/sdk/eventhub/azure-eventhub/README.md index 8bd654ef101d..b0c98470b9d1 100644 --- a/sdk/eventhub/azure-eventhub/README.md +++ b/sdk/eventhub/azure-eventhub/README.md @@ -17,17 +17,9 @@ The Azure Event Hubs client library allows for publishing and consuming of Azure ## Getting started -### Install the package - -Install the Azure Event Hubs client library for Python with pip: - -``` -$ pip install azure-eventhub -``` - -**Prerequisites** +### Prerequisites -- Python 2.7, 3.5 or later. +- Python 2.7, 3.5.3 or later. - **Microsoft Azure Subscription:** To use Azure services, including Azure Event Hubs, you'll need a subscription. If you do not have an existing Azure account, you may sign up for a free trial or use your MSDN subscriber benefits when you [create an account](https://account.windowsazure.com/Home/Index). @@ -36,6 +28,14 @@ If you are not familiar with creating Azure resources, you may wish to follow th for [creating an Event Hub using the Azure portal](https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-create). There, you can also find detailed instructions for using the Azure CLI, Azure PowerShell, or Azure Resource Manager (ARM) templates to create an Event Hub. +### Install the package + +Install the Azure Event Hubs client library for Python with pip: + +``` +$ pip install azure-eventhub +``` + ### Authenticate the client Interaction with Event Hubs starts with an instance of EventHubConsumerClient or EventHubProducerClient class. You need either the host name, SAS/AAD credential and event hub name or a connection string to instantiate the client object. From 70fedbaf6538fd13d344e319a097d18598e74ec9 Mon Sep 17 00:00:00 2001 From: yijxie Date: Fri, 6 Mar 2020 11:00:39 -0800 Subject: [PATCH 7/7] Fix typo --- sdk/eventhub/azure-eventhub/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/eventhub/azure-eventhub/CHANGELOG.md b/sdk/eventhub/azure-eventhub/CHANGELOG.md index 92ddd15cbcd7..4ae59643e5e5 100644 --- a/sdk/eventhub/azure-eventhub/CHANGELOG.md +++ b/sdk/eventhub/azure-eventhub/CHANGELOG.md @@ -4,9 +4,9 @@ **Bug fixes** -- Fixed a bug that swallowed errors when receiving events with the sync `azure.eventhub.EventHubConsumerClient` #9660 +- Fixed a bug that swallowed errors when receiving events with `azure.eventhub.EventHubConsumerClient` #9660 - Fixed a bug that caused `get_eventhub_properties`, `get_partition_ids`, and `get_partition_properties` to raise -and error on Azure Stack #9920 +an error on Azure Stack #9920 ## 5.0.0 (2020-01-13)