wrangler init
It will create wrangler.toml
. Paste your account id to the toml which is
logged by wrangler.
Copy and paste the Upstash Kafka URL, topic name, username and password to the
toml.
wrangler dev
Deploy your function to Cloudflare by running: