How to send logs from Cloudflare Worker to Apache Kafka

Hi,
I'm not sure if this is the right place to ask this question, but does anyone know how I can send logs from Cloudflare Worker Script to my Kafka that is running on my local server?

One way I would do this is use some kind of REST proxy or create a NodeJS service that collects the logs from the Cloudflare Worker and then send it to the Kafka.

Is there any way to send logs directly to Kafka?
Was this page helpful?