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

[go client] add SubscriptionInitPos option in ConsumerOptions #3588

Merged
merged 2 commits into from
Feb 13, 2019
Merged

[go client] add SubscriptionInitPos option in ConsumerOptions #3588

merged 2 commits into from
Feb 13, 2019

Conversation

wolfstudy
Copy link
Member

Signed-off-by: xiaolong.ran ranxiaolong716@gmail.com

Fixes #3494

Motivation

[go client] add SubscriptionInitPos option in ConsumerOptions

Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
@@ -77,6 +86,9 @@ type ConsumerOptions struct {
// Default is `Exclusive`
Type SubscriptionType

// Default is `Latest`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment should indicate what is the purpose of setting a SubscriptionInitPos, eg: "If the subscription does not exist, it will be created either pointing at the end of the topic (Latest, which is the default) or on the earliest available message Earliest)"

Signed-off-by: xiaolong.ran <ranxiaolong716@gmail.com>
@wolfstudy
Copy link
Member Author

wolfstudy commented Feb 13, 2019

thanks for your help @merlimat PTAL again.

Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@merlimat merlimat added type/feature The PR added a new feature or issue requested a new feature component/go labels Feb 13, 2019
@merlimat merlimat added this to the 2.3.0 milestone Feb 13, 2019
@wolfstudy
Copy link
Member Author

run cpp tests
run java8 tests

@wolfstudy
Copy link
Member Author

run cpp tests

@merlimat merlimat merged commit 2ed8fea into apache:master Feb 13, 2019
@wolfstudy wolfstudy deleted the xiaolong/initial-position branch February 15, 2019 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature The PR added a new feature or issue requested a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants