Skip to content

Commit e9c1bd1

Browse files
swathipilrakshith91
authored andcommitted
fixed typo in EH sample + readme (Azure#15954)
1 parent 11ad7f4 commit e9c1bd1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/eventhub/azure-eventhub/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ with client:
197197

198198
### Publish events to an Event Hub asynchronously
199199

200-
Use the `create_batch` method on `EventHubProcuer` to create an `EventDataBatch` object which can then be sent using the `send_batch` method.
200+
Use the `create_batch` method on `EventHubProducer` to create an `EventDataBatch` object which can then be sent using the `send_batch` method.
201201
Events may be added to the `EventDataBatch` using the `add` method until the maximum batch size limit in bytes has been reached.
202202
```python
203203
import asyncio

sdk/eventhub/azure-eventhub/samples/sync_samples/authenticate_with_sas_token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# --------------------------------------------------------------------------------------------
77

88
"""
9-
Example to demonstrate utilizing SAS (Shared Access Signature) tokens to authenticate with ServiceBus
9+
Example to demonstrate utilizing SAS (Shared Access Signature) tokens to authenticate with EventHub
1010
"""
1111

1212
# pylint: disable=C0111

0 commit comments

Comments
 (0)