-
Notifications
You must be signed in to change notification settings - Fork 232
consuming rate decreasing #790
Comments
What happens is consumer is consuming |
Thanks for the ticket @arita37. Without actual example code, it's hard to know what's really happening. Based on the logic you referenced, I'm guessing you might be doing something like this: while True:
consumer = topic.get_balanced_consumer()
consumer.consume() If you're indeed calling consumer = topic.get_balanced_consumer()
while True:
consumer.consume() Please feel free to reopen or comment on this issue I've gotten it wrong. |
Hello, We are using normal code as follow :
What happens :
Can we re-open this issue ? |
You can delete the line |
We have the following scheme with several python jobs:
While True :
balancedConsumer
processMsg
produceMsg
All in auto-commit
Kafka server has fixed output rate 1000 msg/sec.
For some reasons, Input rate is very high at beginning 1200 msg/sec and after
drops to 500 msg/sec, around half of the normal output rate.
Why the reason of the drop ?
How to check that consumer input rate is same than kafka server ?
processMSG is very low latency (<1 ms processing).
PyKafka version: v2.7.0
Kafka version: 0.8.1
The text was updated successfully, but these errors were encountered: