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

Update API Keys per latest version of the spec #74

Closed
wants to merge 1 commit into from
Closed

Update API Keys per latest version of the spec #74

wants to merge 1 commit into from

Conversation

eapache
Copy link
Contributor

@eapache eapache commented Apr 8, 2014

The spec page on the wiki was updated with new key values on March 19:
https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol

@wvanbergen

@wvanbergen
Copy link
Contributor

Any idea why this changed, and nothing else??

@eapache
Copy link
Contributor Author

eapache commented Apr 9, 2014

Nope, but the guy who changed it is a core Kafka committer, not some random.

@wvanbergen
Copy link
Contributor

Do you know what version started using the new API keys? 0.8.1?

@eapache
Copy link
Contributor Author

eapache commented Apr 9, 2014

Based on the timing I guess that this is a post-0.8.1 change (targetting 0.9.0?) but I've not been following closely; I only noticed this because I'm subscribed to changes on the wiki page. I don't know if 0.8.1 even implements those APIs yet (0.8.0 didn't) so they may just be making a clean break now that they actually plan on using them for something?

@eapache
Copy link
Contributor Author

eapache commented Apr 9, 2014

Anyways, you're welcome to postpone merging this until we can clarify.

@wvanbergen
Copy link
Contributor

I am fine merging this if this is not used yet in released version - it's just a curious change.

@snaury
Copy link
Contributor

snaury commented Apr 9, 2014

These keys are not for post-0.8.1, as far as I can see they are actually used in 0.8.1 and current trunk. Looks like keys 6 and 7 were actually used for UpdateMetadataRequest and ControlledShutdownRequest respectively, but the wiki page doesn't document these, unfortunately.

@eapache
Copy link
Contributor Author

eapache commented Apr 9, 2014

Is there non-code documentation for any of that, or does somebody need to email kafka-dev and complain that the wiki is stale?

@snaury
Copy link
Contributor

snaury commented Apr 9, 2014

I don't know, I'm just starting to use kafka and don't know what's where yet (besides, reading code is somewhat easier for me, turns out to be more authoritative too). Probably a good idea to complain.

@wvanbergen
Copy link
Contributor

Closing this as #77 has been merged.

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.

3 participants