-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
#SPARK-2808 update kafka to version 0.8.2 #3631
Conversation
Can one of the admins verify this patch? |
Hi @helena, Do you mind editing this PR's title to say "SPARK-2808" instead of #2808? This will ensure that this PR is properly linked to JIRA and our PR review dashboard. Does this PR introduce any backwards-incompatible changes? If a user is using an older version of Kafka, will they have to update any code or configurations as a result of this patch? |
@JoshRosen Ticket name updated :) Sorry for the delay, I was away. |
Hey @helena I am not sure whether we want to upgrade to a beta version. Especially, there have been subtle changes within Kafka between releases and I am afraid to make changes (even more so with beta versions) without fully understanding implications. So could you elaborate on why you want to update to 0.8.2 beta ? |
Hi @tdas, +1. This PR was done as initial push, and as soon as 0.8.2 is out of beta I planned to do the final commit, then have it considered. I never expected it to be merged while in beta. To your other point, it is important to allow users to use the latest version of kafka in their applications which integrate with spark streaming kafka. You can find a high-level description here http://blog.confluent.io/2014/12/02/whats-coming-in-apache-kafka-0-8-2 with full release notes here https://archive.apache.org/dist/kafka/0.8.2-beta/RELEASE_NOTES.html |
Waiting for kafka 0.8.2 to move to GA, still beta |
Kafka 0.8.2 is now listed as latest stable. |
Aah cool. However 0.8.1 and 0.8.2 have pretty big changes between them, so lets merge this for the next release. We are already doing a lot of experimental Kafka stuff in this release (feature merge window has closed). |
@tdas what shall I do with this PR to complete it then? |
The first step would be to see whether upgrading to 0.8.2 passes the On Wed, Feb 4, 2015 at 6:02 AM, Helena Edelson notifications@github.com
|
All streaming-kafka sbt tests and /dev/run-tests passed in my initial push as beta, and with the GA update all still pass. Should I resubmit this PR against another branch? @tdas |
Jenkins, this is ok to test. |
Then for the new API (which does not store offsets externally) may need to be updated to ensure compatibility. I am not sure whether the current unit tests will catch such issues. This will require a bit of manual testing. Will do after 1.3 release rush. :) Thanks for the link! |
Test build #26849 has started for PR 3631 at commit
|
NP, I think manual may not be necessary, just the addition of tests that automate testing the version or testing all and handling the execution path properly. I can add that when merged. |
Test build #26849 has finished for PR 3631 at commit
|
Test PASSed. |
Hi @srowen, will do. |
This will need some changes to KafkaCluster and possibly other things related to the new api... let me know if you want a hand. |
@koeninger Yes, there consumer offset and some other minor changes to make. |
@koeninger this is a definite blocker for me, I'm upgrading the connector to scala 2.11 with a cross build. Let me know if you have time, otherwise I will get back to this tomorrow morning. |
Great I'll close this. |
https://issues.apache.org/jira/browse/SPARK-2808 update kafka to version 0.8.2. Kafka 0.8.2 is in beta still.