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

Issue 2077: SubscriptionInitialPosition doesn't work with multiple-topic type subscription #2100

Merged
merged 4 commits into from
Jul 7, 2018

Conversation

sijie
Copy link
Member

@sijie sijie commented Jul 6, 2018

Motivation

Fixes #2077.

The problem is the consumer configuration is copied to an internal consumer configuration for multi-topic style subscription. but we missed copying SubscriptionInitialPosition.

Solution

Use clone for popagating configuration to internal configuration.

Added a test case to cover it.

…pic type subscription

*Motivation*

Fixes apache#2077.

The problem is the consumer configuration is copied to an internal consumer configuration for multi-topic style subscription. but we missed copying SubscriptionInitialPosition.

*Solution*

Use `clone` for popagating configuration to internal configuration.

Added a test case to cover it.
@sijie sijie added type/bug The PR fixed a bug or issue reported a bug area/client labels Jul 6, 2018
@sijie sijie added this to the 2.1.0-incubating milestone Jul 6, 2018
@sijie sijie self-assigned this Jul 6, 2018
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.

👍

@sijie
Copy link
Member Author

sijie commented Jul 6, 2018

retest this please

@sijie
Copy link
Member Author

sijie commented Jul 7, 2018

retest this please

@sijie sijie merged commit ffe7b62 into apache:master Jul 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants