Skip to content

Conversation

@nikit-os
Copy link

…mer API

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

Copy link
Contributor

Choose a reason for hiding this comment

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

This comment style is inconsistent with the rest of Spark (also makes it difficult to see what parts of the comment has/hasn't changed).

@jerryshao
Copy link
Contributor

There's a lot of duplications copied from the original code, is it possible to consolidate it? Also if current Kafka client is wire-compatible with Kafka 0.9 brokers, we could still use the current client and wait until most of the uses upgrade the Kafka cluster to 0.9 to change the client. From my thinking maintaining two versions of Kafka in Spark will increase the maintenance burden.

@nikit-os
Copy link
Author

I did this duplicates because I didn't want to broke the current implementation. Do you have some ideas how to do consolidation between this two versions? Maybe we should use something like shim classes for this - set of abstract classes and 2 submodules with old and new implementations?
I can not make such decisions, but in my opinion we may leave current 0.8 implementation as legacy and evolve new 0.9 implementation.

@nikit-os nikit-os force-pushed the kafka-09-consumer-api branch from 0d1a22b to 328379e Compare December 15, 2015 16:50
Copy link

Choose a reason for hiding this comment

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

probably writing 0L would be better rather than (long) casting

@praveend
Copy link

praveend commented Jan 4, 2016

Hi @nikit-os

I have made a note of some minor observations and suggestions on some of the test cases related to using new consumer. Have a look and let me know if you will need any further info from me on them.

Thanks

Praveen

@nikit-os nikit-os force-pushed the kafka-09-consumer-api branch from 7e4a843 to 8312792 Compare January 8, 2016 16:59
@nikit-os
Copy link
Author

nikit-os commented Jan 8, 2016

Hi @praveend !

Thank you for review! I have corrected mistakes.

@tdas
Copy link
Contributor

tdas commented Jan 8, 2016

Is there any feature / perf improvement / etc., in 0.9 that makes this upgrade worth all the change?

@nikit-os
Copy link
Author

nikit-os commented Jan 9, 2016

Kafka 0.9 introduce new consumer which eliminates the dependence on Zookeeper. It replaces "high-level" and "low-level" consumers and makes working with Kafka much easier. Also new producer and consumer support new security features (such as Kerberos, SSL, unix-like permissions system control).

@nikit-os
Copy link
Author

I'm closing this PR, because I moved my changes to another branch that based on master. Link to new PR - #10681

@nikit-os nikit-os closed this Jan 10, 2016
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.

6 participants