Skip to content

Commit

Permalink
[Event Hubs] Update Development Status (#12378)
Browse files Browse the repository at this point in the history
* Update Development Status to "4 - Beta"

* Fix keyword type display in sphinx-generated doc
  • Loading branch information
YijunXieMS authored Jul 6, 2020
1 parent 139b9bf commit a1b5476
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
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='azpysdkhelp@microsoft.com',
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

0 comments on commit a1b5476

Please sign in to comment.