Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EH] Update Buffered Producer Timeout Docstring #34912

Merged
merged 1 commit into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,8 @@ def send_event(
:keyword float timeout: The maximum wait time to send the event data in non-buffered mode or the
maximum wait time to enqueue the event data into the buffer in buffered mode.
In non-buffered mode, the default wait time specified when the producer
was created will be used. In buffered mode, the default wait time is None.
was created will be used. In buffered mode, the default wait time is None indicating that the event will be
scheduled to send immediately.
:keyword str partition_id: The specific partition ID to send to. Default is None, in which case the service
will assign to all partitions using round-robin.
A `TypeError` will be raised if partition_id is specified and event_data_batch is an `EventDataBatch` because
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,8 @@ async def send_event(
:keyword float timeout: The maximum wait time to send the event data in non-buffered mode or the
maximum wait time to enqueue the event data into the buffer in buffered mode.
In non-buffered mode, the default wait time specified when the producer
was created will be used. In buffered mode, the default wait time is None.
was created will be used. In buffered mode, the default wait time is None indicating that the event will be
scheduled to send immediately.
:keyword str partition_id: The specific partition ID to send to. Default is None, in which case the service
will assign to all partitions using round-robin.
A `TypeError` will be raised if partition_id is specified and event_data_batch is an `EventDataBatch` because
Expand Down