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

remove rack from FindCoordinatorResponse #1051

Merged
merged 1 commit into from
Feb 14, 2018
Merged

remove rack from FindCoordinatorResponse #1051

merged 1 commit into from
Feb 14, 2018

Conversation

buyology
Copy link

@buyology buyology commented Feb 14, 2018

#1050 introduced the Rack-field to the FindCoordinatorResponse, however this is only part of the MetadataResponse. As we now have a shared method for decoding/encoding the broker for both these messages we can work around this (as was pre-#1050) by hard coding the version of the coordinator-decode to 0.

Ultimately I guess we should separate the decoding of the broker for these two messages, but maybe we should leave that for another day.

This removes the rack from the FindCoordinatorResponse and hardcodes the Broker decode/encode version to 0 and adds a comment for that.

cc @horkhe

@eapache eapache merged commit bfaa60f into IBM:master Feb 14, 2018
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