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
# Azure Event Hubs client library for Python - Version 5.3.0
14
+
# Azure Event Hubs client library for Python - Version 5.3.1
15
15
16
16
17
17
Azure Event Hubs is a highly scalable publish-subscribe service that can ingest millions of events per second and stream
@@ -27,7 +27,7 @@ The Azure Event Hubs client library allows for publishing and consuming of Azure
27
27
- Observe interesting operations and interactions happening within your business or other ecosystem, allowing loosely coupled systems to interact without the need to bind them together.
28
28
- Receive events from one or more publishers, transform them to better meet the needs of your ecosystem, then publish the transformed events to a new stream for consumers to observe.
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.
55
55
56
-
**[Create client from connection string:](https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_5.3.0/sdk/eventhub/azure-eventhub/samples/sync_samples/connection_string_authentication.py)**
56
+
**[Create client from connection string:](https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_5.3.1/sdk/eventhub/azure-eventhub/samples/sync_samples/connection_string_authentication.py)**
57
57
58
58
For the Event Hubs client library to interact with an Event Hub, the easiest means is to use a connection string, which is created automatically when creating an Event Hubs namespace.
59
59
If you aren't familiar with shared access policies in Azure, you may wish to follow the step-by-step guide to [get an Event Hubs connection string](https://docs.microsoft.com/azure/event-hubs/event-hubs-get-connection-string).
@@ -62,12 +62,12 @@ If you aren't familiar with shared access policies in Azure, you may wish to fol
62
62
`Endpoint=sb://<yournamespace>.servicebus.windows.net/;SharedAccessKeyName=<yoursharedaccesskeyname>;SharedAccessKey=<yoursharedaccesskey>` and
63
63
entity name to your Event Hub instance. You can get the connection string from the [Azure portal](https://docs.microsoft.com/azure/event-hubs/event-hubs-get-connection-string#get-connection-string-from-the-portal).
64
64
65
-
**[Create client using the azure-identity library:](https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_5.3.0/sdk/eventhub/azure-eventhub/samples/sync_samples/client_identity_authentication.py)**
65
+
**[Create client using the azure-identity library:](https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_5.3.1/sdk/eventhub/azure-eventhub/samples/sync_samples/client_identity_authentication.py)**
66
66
67
67
Alternately, one can use a Credential object to authenticate via AAD with the azure-identity package.
68
68
69
69
- This constructor demonstrated in the sample linked above takes the host name and entity name of your Event Hub instance and credential that implements the
protocol. There are implementations of the `TokenCredential` protocol available in the
72
72
[azure-identity package](https://pypi.org/project/azure-identity/). The host name is of the format `<yournamespace.servicebus.windows.net>`.
73
73
- To use the credential types provided by `azure-identity`, please install the package:
@@ -337,8 +337,8 @@ In the below example, we create an instance of `EventHubConsumerClient` and use
337
337
to [create an Azure Storage account](https://docs.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-portal)
338
338
and a [Blob Container](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal#create-a-container) to run the code.
339
339
340
-
[Azure Blob Storage Checkpoint Store Async](https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_5.3.0/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio)
341
-
and [Azure Blob Storage Checkpoint Store Sync](https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_5.3.0/sdk/eventhub/azure-eventhub-checkpointstoreblob)
340
+
[Azure Blob Storage Checkpoint Store Async](https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_5.3.1/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio)
341
+
and [Azure Blob Storage Checkpoint Store Sync](https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_5.3.1/sdk/eventhub/azure-eventhub-checkpointstoreblob)
342
342
are one of the `CheckpointStore` implementations we provide that applies Azure Blob Storage as the persistent store.
- Programmatically retrieve the built-in Event Hubs compatible endpoint.
403
-
Refer to [IoT Hub Connection String Sample](https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_5.3.0/sdk/eventhub/azure-eventhub/samples/async_samples/iot_hub_connection_string_receive_async.py).
403
+
Refer to [IoT Hub Connection String Sample](https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_5.3.1/sdk/eventhub/azure-eventhub/samples/async_samples/iot_hub_connection_string_receive_async.py).
404
404
405
405
## Troubleshooting
406
406
@@ -426,11 +426,11 @@ The Event Hubs APIs generate the following exceptions in azure.eventhub.exceptio
426
426
427
427
### More sample code
428
428
429
-
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_5.3.0/sdk/eventhub/azure-eventhub/samples) directory for detailed examples of how to use this library to send and receive events to/from Event Hubs.
429
+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_5.3.1/sdk/eventhub/azure-eventhub/samples) directory for detailed examples of how to use this library to send and receive events to/from Event Hubs.
430
430
431
431
### Documentation
432
432
433
-
Reference documentation is available [here](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-eventhub/latest/azure.eventhub.html).
433
+
Reference documentation is available [here](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-eventhub/5.3.1/azure.eventhub.html).
434
434
435
435
### Schema Registry and Avro Serializer
436
436
@@ -462,8 +462,8 @@ For more information see the [Code of Conduct FAQ](https://opensource.microsoft.
0 commit comments