➜ kafka-examples git:(master) ✗ npx create-next-app@latest✔ What is your project named? … getstarted-nextjsCreating a new Next.js app in /Users/enes/dev/kafka-examples/getstarted-nextjs.
Then create an Upstash Kafka cluster and a topic as explained
here. In the cluster page, under the REST API
section, copy the producer code under the tab Javascript (fetch).