Upstash Kafka Setup
Create a Kafka cluster using Upstash Console or Upstash CLI by following Getting Started.Decodable Setup
Just like Upstash, Decodable is a managed service that means you do not need to host or provision anything. You can easily register for free and start using it. After creating your account, click onConnections
and New Connection
. Select
Apache Kafka
. Then:
- Select Source as connection type.
- Select SASL_SSL as security protocol and SCRAM-SHA-256 as SASL mechanism.
- Enter your topic, SASL username, SASL password. You can find all those from Upstash console.
- Value format should be JSON.

New Stream
and give a name to it.

country
, city
, region
and url
with string
type.

Create Connection
. In the next screen
click on Start.

Test the Setup
Now, let’s some events to our Kafka topic. Go to Upstash console, click on your cluster thenTopics
, click mytopic
. Select Messages
tab then click
Produce a new message
. Send a message in JSON format like the below:

Run Preview
. You should see something like:
