java - Kafka Connect Wake up Exception while rebalancing -
i using kafka connect framework (v 0.10.0) in distributed mode create scalable microservice consumer application. have embedded kafka connect microservice dumbs data downstream service. deployed on kubernetes cluster autoscaled based on cpu percentage.
currently while testing big load of around 10 million records, have started observing lot of wakeup exceptions whenever kafka connect worker tries rebalance due autoscaling.
also observed there long silence before kafka connect cluster starts processing again.
my question lead possible records loss due offset commit problem ? how of big concern this. if issue know if fixed in latest version.
error 82 --- [pool-6-thread-5] o.a.k.connect.runtime.workersinktask : commit of workersinktask{id=test-connector} offsets threw unexpected exception: org.apache.kafka.common.errors.wakeupexception: null @ org.apache.kafka.clients.consumer.internals.consumernetworkclient.maybetriggerwakeup(consumernetworkclient.java:367) @ org.apache.kafka.clients.consumer.internals.consumernetworkclient.clientpoll(consumernetworkclient.java:361) @ org.apache.kafka.clients.consumer.internals.consumernetworkclient.poll(consumernetworkclient.java:224) @ org.apache.kafka.clients.consumer.internals.consumernetworkclient.poll(consumernetworkclient.java:192) @ org.apache.kafka.clients.consumer.internals.consumernetworkclient.poll(consumernetworkclient.java:163) @ org.apache.kafka.clients.consumer.internals.consumercoordinator.commitoffsetssync(consumercoordinator.java:404) @ org.apache.kafka.clients.consumer.kafkaconsumer.commitsync(kafkaconsumer.java:1058) @ org.apache.kafka.connect.runtime.workersinktask.docommit(workersinktask.java:247) @ org.apache.kafka.connect.runtime.workersinktask.commitoffsets(workersinktask.java:293) @ org.apache.kafka.connect.runtime.workersinktask.closepartitions(workersinktask.java:421) @ org.apache.kafka.connect.runtime.workersinktask.execute(workersinktask.java:146) @ org.apache.kafka.connect.runtime.workertask.dorun(workertask.java:140) @ org.apache.kafka.connect.runtime.workertask.run(workertask.java:175) @ java.util.concurrent.executors$runnableadapter.call(executors.java:511) @ java.util.concurrent.futuretask.run(futuretask.java:266) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617) @ java.lang.thread.run(thread.java:745)
Comments
Post a Comment