-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
High-level ZooKeeper consumer #9
Comments
I'm very new to Kafka... I am currently developing against a single-node Kafka cluster. I will only ever have a single It's working at the moment hard-coding ...and I think that means eventually my messages are going to get automatically distributed across a number of partitions? Is it correct that I won't be able to assume a single partition in production, and the ZooKeeper consumer will become neccessary? thanks! |
Partitions are configured in server.properties "num.partitions". See the For consumption, you must specify the partition you wish to consume from, It's generally advised to have at least a few partitions so you can have I definitely recommend the quickstart guide Good luck! Sent from my phone On Nov 22, 2012, at 9:06 AM, anentropic notifications@github.com wrote: I'm very new to Kafka... I am currently developing against a single-node It's working at the moment hard-coding partition=0 in my code but I'm ...and I think that means eventually my messages are going to get Is it correct that I won't be able to assume a single partition in thanks! — |
thanks very much... I could not find where it states that you can't have multiple consumers consuming from the same partition... or is it just that in that case you'll process messages more than once due to difficulty synchronising offsets between consumers? is this lib roughly corresponding to the 'low-level' consumer API in the design doc, while the proposed ZooKeeper consumer would correspond to the 'high-level' API? |
That's correct. So far I've implemented the protocol (FetchRequest, The "high-level" consumer uses zookeeper to automatically coordinate which You can definitely have multiple consumers read from the same Sent from my phone On Nov 22, 2012, at 9:26 AM, anentropic notifications@github.com wrote: thanks very much... I could not find where it states that you can't have is this lib roughly corresponding to the 'low-level' consumer API in the — |
ah, so basically the job is to convert these Scala files to Python... :) I see a bunch of things are changing in 0.8 too... maintaining a Kafka client seems a thankless task! |
Yea, supporting 0.8.x is another story. It should be backwards compatible, Sent from my phone On Nov 22, 2012, at 10:54 AM, anentropic notifications@github.com wrote: ah, so basically the job is to convert these Scala I see a bunch of things are changing in 0.8 too... maintaining a Kafka — |
Won't be doing this since 0.8 removes the ZK dependency from the client |
…osed Avoid 100% CPU usage while socket is closed aiven#9 (review)
No description provided.
The text was updated successfully, but these errors were encountered: