Github user abhishekagarwal87 commented on the pull request:
https://github.com/apache/storm/pull/1386#issuecomment-216762280
It's about both the consumer and producer api. 0.9.x client (producer +
consumer) is not backward compatible with 0.8.x broker.
Reverting this version change has two purposes-
1. Upgrading to new version of storm-kafka will work with 0.8.x cluster
without any surprises like
https://mail-archives.apache.org/mod_mbox/storm-user/201605.mbox/%3CCAFwSPC1072CkOWsGB48HBOoMx%3D5h88AJ22sCBcJ31cB1Uqg52w%40mail.gmail.com%3E.
2. More importantly, by explicitly setting version to 0.8.x, we will ensure
that in future no changes are made to storm-kafka which are not compatible with
older kafka client (since compilation itself will fail). In fact, I will also
add this comment in the storm-kafka pom so that kafka version is not upgraded
in future.
By the way, version is being reverted only for storm-kafka module. The new
kafka client for storm (storm-kafka-client) still uses 0.9.x. I think we should
encourage the use of this module if user need features specific to 0.9.x
version. We already have the consumer api available there. we can do the same
for producer api. Happy to take it up.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---