This repository has been archived by the owner on Mar 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow version to be imported separately from the rest of the project
- Loading branch information
1 parent
9145ec8
commit d2e534c
Showing
3 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
version = '1.0.0' |
d2e534c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks the package when installed with pip.
d2e534c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi there,
We've got a Pull Request open to fix this (#159). We'll be taking a look and merging it later this week.
Keith.
d2e534c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok great. Also, why is this package not on pypi?
d2e534c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's still under development. We plan on doing a full release within a week or two. As such, please use at your own risk. Most of it is stable, but we can't promise there aren't bugs that are still hidden.
d2e534c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah ok I see. Then how does your library compare to kafka-python, why did you develop your own instead of joining that effort?
d2e534c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This used to be a library called samsa, for the 0.7.x branch of Kafka and had a full balanced consumer implementation. We started to upgrade to 0.8.x before finding kafka-python and decided to keep with that since the maintainer expressed that he didn't want a balanced consumer implementation in that library. We need a balancing consumer for our internal uses, so not having that wasn't an option. He's also since indicated that he's not interested in maintaining the project, so we decided to finish our own upgrade and rename it to pykafka.
At some point, we'll run some benchmarks between the two libraries, but that'll be after we do a full release. I'm pretty confident our implementation will be more performant, and we're also trying to integrate a wrapper for the C library librdkafka for even greater performance. Those speedups would be optional, obviously, as the pure-python implementation will be easier to install for some people.
d2e534c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kbourgoin thank you very much for the thorough comparison. This helps me a lot.