-
Notifications
You must be signed in to change notification settings - Fork 387
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
requirement failed message in 0.11-M4 #189
Comments
Can you reproduce this error somehow? It is caused by internal |
I got it when I had 3 different instances of a listener on the same queue and then I kill one of them, and I see the error in the console of the other one. I will try to see whether I can trigger this reliably. |
Thanks, @xelax @13h3r I suspect that consumer assignment changed before |
Yes, it sounds likely to me, besides my listeners are getting updates in large batches with few thousands of largish messages in them, so it is quite possible that while getting the messages the consumer assignment get changed. |
@xelax did you use auto or manual partition assignment assignment? @kciesielski How assignment may be changed before poll? And how it may broke the code? |
Please try build from master. Looks like #179 fixes this |
Could you check it? //@xelax |
sorry, was out on vacation last week. I will build and try it out today or tomorrow.
|
I tried it out with the new build and the problem seems to be solved. |
While running 0.11-M4 I've got this error:
2016-08-10 10:10:50,056 ERROR a.a.OneForOneStrategy - requirement failed
java.lang.IllegalArgumentException: requirement failed
at scala.Predef$.require(Predef.scala:212)
at akka.kafka.KafkaConsumerActor.poll(KafkaConsumerActor.scala:182)
at akka.kafka.KafkaConsumerActor$$anonfun$receive$1.applyOrElse(KafkaConsumerActor.scala:101)
at akka.actor.Actor$class.aroundReceive(Actor.scala:484)
at akka.kafka.KafkaConsumerActor.aroundReceive(KafkaConsumerActor.scala:56)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
at akka.actor.ActorCell.invoke(ActorCell.scala:495)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
at akka.dispatch.Mailbox.run(Mailbox.scala:224)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
The text was updated successfully, but these errors were encountered: