Currently while testing with big load of around 10 million records, started observing a lot of wakeup exceptions whenever kafka connect worker tries to rebalance due to autoscaling.
Also I observed there is a long silence before kafka connect cluster starts processing again.
My question is does it lead to possible records loss due to offset commit problem ? How much of a big concern is this. If this is an issue does please let me know if its fixed in the latest version.
ERROR 82 --- [pool-6-thread-5] o.a.k.connect.runtime.WorkerSinkTask : Commit of WorkerSinkTask{id=test-connector} offsets threw an unexpected exception:org.apache.kafka.common.errors.WakeupException: nullat org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.maybeTriggerWakeup(ConsumerNetworkClient.java:367)at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.clientPoll(ConsumerNetworkClient.java:361)at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:224)at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:192)at org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.poll(ConsumerNetworkClient.java:163)at org.apache.kafka.clients.consumer.internals.ConsumerCoordinator.commitOffsetsSync(ConsumerCoordinator.java:404)at org.apache.kafka.clients.consumer.KafkaConsumer.commitSync(KafkaConsumer.java:1058)at org.apache.kafka.connect.runtime.WorkerSinkTask.doCommit(WorkerSinkTask.java:247)at org.apache.kafka.connect.runtime.WorkerSinkTask.commitOffsets(WorkerSinkTask.java:293)at org.apache.kafka.connect.runtime.WorkerSinkTask.closePartitions(WorkerSinkTask.java:421)at org.apache.kafka.connect.runtime.WorkerSinkTask.execute(WorkerSinkTask.java:146)at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:140)at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:175)at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)at java.util.concurrent.FutureTask.run(FutureTask.java:266)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)
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/5e1a91b9-929e-4741-82e3-b625cb46380d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To post to this group, send email to confluent...@googlegroups.com.
Thanks much for your reply. Actually I am not using any available connector but wrote my own custom connector by extending sinkconnector and sinktask. Basically what I am doing is using the sinktask#put method to get the sinkrecords and give it to downstream for processing. I also throw connect exception incase of downstream failure in the same put method which i understand put that particular task into FAILED state. I am ok with getting duplicate records but not data loss.
I also see that there was a fix done around commit failure during rebalance: https://github.com/apache/kafka/commit/2c9796114d0a9638be79b4165d0096c7a63babe7
But this fix is not available in 0.10.0.0. Can this is a possible reason of data loss?
Also is there a way to tell connect to reduce the pause time before it starts processing again?
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsubscribe@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/5e1a91b9-929e-4741-82e3-b625cb46380d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/465ee450-51e3-4d08-9154-c46eaaba2613%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/5e1a91b9-929e-4741-82e3-b625cb46380d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsubscribe@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/5e1a91b9-929e-4741-82e3-b625cb46380d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsubscribe@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/465ee450-51e3-4d08-9154-c46eaaba2613%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/7a18e921-cb82-470d-9076-6c8f2a2ac472%40googlegroups.com.