Sending jitsi meet stats to apache kafka and store in kafka quque using rest api

I want to save rtcstats in apache kafka queue using rest api .Could you please help me solving this challenge?Or please provide some solution

please answer.