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
to create EventHubProducerClient and EventHubConsumerClient that connect to a custom endpoint with a custom certificate.
77
+
- Create EventHubProducerClient and EventHubConsumerClient that connect to a custom endpoint with a custom certificate.
78
78
79
79
-[send_and_receive_amqp_annotated_message.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventhub/azure-eventhub/samples/sync_samples/send_and_receive_amqp_annotated_message.py) ([async_version](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventhub/azure-eventhub/samples/async_samples/send_and_receive_amqp_annotated_message_async.py)) - Examples to send AMQPAnnotatedMessage to and receive events from an event hub and parse the body:
80
80
- Send AMQPAnnotatedMessage of different body types.
81
81
- Receive messages and parse the body according to the body type.
82
82
83
+
-[send_buffered_mode.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventhub/azure-eventhub/samples/sync_samples/send_buffered_mode.py) ([async_version](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventhub/azure-eventhub/samples/async_samples/send_buffered_mode_async.py)) - Examples to send events in buffered mode:
84
+
- Send single events, which will be automatically batched.
85
+
- Send a batch of events by enqueuing an EventDataBatch object to the buffer.
86
+
- Send events in buffer immediately by calling `flush`.
87
+
83
88
## Prerequisites
84
89
- Python 3.6 or later.
85
90
-**Microsoft Azure Subscription:** To use Azure services, including Azure Event Hubs, you'll need a subscription.
0 commit comments