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

Permit protocol ordering in JoinGroup requests #843

Merged
merged 1 commit into from
Mar 3, 2017

Conversation

eapache
Copy link
Contributor

@eapache eapache commented Mar 2, 2017

The kafka protocol for JoinGroupRequest allows you to specify priority
on group protocols for seamless rollout of new protocols while a
consumer group is running. The old map was not supporting that use case.

Add an array field (OrderedGroupProtocols) and deprecate the map.

Fixes #812.

@DanielMorsing @wvanbergen

The kafka protocol for JoinGroupRequest allows you to specify priority
on group protocols for seamless rollout of new protocols while a
consumer group is running. The old map was not supporting that use case.

Add an array field (OrderedGroupProtocols) and deprecate the map.
@@ -50,7 +50,11 @@ func testVersionDecodable(t *testing.T, name string, out versionedDecoder, in []
}

func testRequest(t *testing.T, name string, rb protocolBody, expected []byte) {
Copy link
Contributor

Choose a reason for hiding this comment

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

testRequestEncode?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't follow? All I did was split testRequest into the two pieces testRequestEncode and testRequestDecode; this method just calls them both.

@eapache eapache merged commit 4b51cc3 into master Mar 3, 2017
@eapache eapache deleted the join-group-ordered-protocols branch March 3, 2017 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants