Skip to content

[Event Hubs] Update Development Status #12378

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

Merged
merged 2 commits into from
Jul 6, 2020
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 @@ -91,7 +91,7 @@ class EventHubConsumerClient(ClientBase):
of seconds. Every load-balancing evaluation will automatically extend the ownership expiration time.
Default is 6 * load_balancing_interval, i.e. 60 seconds when using the default load_balancing_interval
of 10 seconds.
:keyword str or ~azure.eventhub.LoadBalancingStrategy load_balancing_strategy: When load-balancing kicks in,
:keyword load_balancing_strategy: When load-balancing kicks in,
it will use this strategy to claim and balance the partition ownership.
Use "greedy" or `LoadBalancingStrategy.GREEDY` for the greedy strategy, which, for every
load-balancing evaluation, will grab as many unclaimed partitions required to balance the load.
Expand All @@ -101,6 +101,7 @@ class EventHubConsumerClient(ClientBase):
too few partitions, this client will steal one partition from other clients for every load-balancing
evaluation regardless of the load balancing strategy.
Greedy strategy is used by default.
:paramtype load_balancing_strategy: str or ~azure.eventhub.LoadBalancingStrategy


.. admonition:: Example:
Expand Down Expand Up @@ -225,7 +226,7 @@ def from_connection_string(cls, conn_str, consumer_group, **kwargs):
of seconds. Every load-balancing evaluation will automatically extend the ownership expiration time.
Default is 6 * load_balancing_interval, i.e. 60 seconds when using the default load_balancing_interval
of 10 seconds.
:keyword str or ~azure.eventhub.LoadBalancingStrategy load_balancing_strategy: When load-balancing kicks in,
:keyword load_balancing_strategy: When load-balancing kicks in,
it will use this strategy to claim and balance the partition ownership.
Use "greedy" or `LoadBalancingStrategy.GREEDY` for the greedy strategy, which, for every
load-balancing evaluation, will grab as many unclaimed partitions required to balance the load.
Expand All @@ -235,6 +236,7 @@ def from_connection_string(cls, conn_str, consumer_group, **kwargs):
too few partitions, this client will steal one partition from other clients for every load-balancing
evaluation regardless of the load balancing strategy.
Greedy strategy is used by default.
:paramtype load_balancing_strategy: str or ~azure.eventhub.LoadBalancingStrategy

:rtype: ~azure.eventhub.EventHubConsumerClient

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class EventHubConsumerClient(ClientBaseAsync):
of seconds. Every load-balancing evaluation will automatically extend the ownership expiration time.
Default is 6 * load_balancing_interval, i.e. 60 seconds when using the default load_balancing_interval
of 10 seconds.
:keyword str or ~azure.eventhub.LoadBalancingStrategy load_balancing_strategy: When load-balancing kicks in,
:keyword load_balancing_strategy: When load-balancing kicks in,
it will use this strategy to claim and balance the partition ownership.
Use "greedy" or `LoadBalancingStrategy.GREEDY` for the greedy strategy, which, for every
load-balancing evaluation, will grab as many unclaimed partitions required to balance the load.
Expand All @@ -106,6 +106,7 @@ class EventHubConsumerClient(ClientBaseAsync):
too few partitions, this client will steal one partition from other clients for every load-balancing
evaluation regardless of the load balancing strategy.
Greedy strategy is used by default.
:paramtype load_balancing_strategy: str or ~azure.eventhub.LoadBalancingStrategy

.. admonition:: Example:

Expand Down Expand Up @@ -242,7 +243,7 @@ def from_connection_string(
of seconds. Every load-balancing evaluation will automatically extend the ownership expiration time.
Default is 6 * load_balancing_interval, i.e. 60 seconds when using the default load_balancing_interval
of 10 seconds.
:keyword str or ~azure.eventhub.LoadBalancingStrategy load_balancing_strategy: When load-balancing kicks in,
:keyword load_balancing_strategy: When load-balancing kicks in,
it will use this strategy to claim and balance the partition ownership.
Use "greedy" or `LoadBalancingStrategy.GREEDY` for the greedy strategy, which, for every
load-balancing evaluation, will grab as many unclaimed partitions required to balance the load.
Expand All @@ -252,6 +253,7 @@ def from_connection_string(
too few partitions, this client will steal one partition from other clients for every load-balancing
evaluation regardless of the load balancing strategy.
Greedy strategy is used by default.
:paramtype load_balancing_strategy: str or ~azure.eventhub.LoadBalancingStrategy
:rtype: ~azure.eventhub.aio.EventHubConsumerClient

.. admonition:: Example:
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventhub/azure-eventhub/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
author_email='[email protected]',
url='https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/eventhub/azure-eventhub',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Development Status :: 4 - Beta",
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
Expand Down