You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/02/28 19:36:02 UTC
[GitHub] merlimat commented on a change in pull request #3714: [Issue
#3712][python-client] exposing InitialPosition management in the
ConsumerConfiguration.
merlimat commented on a change in pull request #3714: [Issue #3712][python-client] exposing InitialPosition management in the ConsumerConfiguration.
URL: https://github.com/apache/pulsar/pull/3714#discussion_r261351781
##########
File path: pulsar-client-cpp/python/pulsar/__init__.py
##########
@@ -536,6 +537,10 @@ def my_listener(consumer, message):
can be used for identify a consumer at broker side.
* `pattern_auto_discovery_period`:
Periods of seconds for consumer to auto discover match topics.
+ * `initial_position`:
+ Set the initial position of a consumer when subscribing to the topic.
+ It could be either: `InitialPosition.InitialPositionEarliest` or `InitialPosition.InitialPositionEarliest`.
Review comment:
`Earliest` or `Latest`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services