The only thing you doing now is creating a new SinkRecord manually. And pass it to your method. Instead of getting the values out of your Kafka SinkRecord you are creating a different one. I'm not sure how this will help you.
-- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-solve-SinkRecord-cannot-be-cast-exception-unsolved-tp13221p13287.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.