This tutorial shows how to integrate Upstash Kafka with Rockset
Create your first Integration
.
Select Kafka
as the external service and click Start
. In the next step, name your integration and select Apache Kafka. In the data format section, select the data format and give the name of the topic you created.
New — no pre-existing Kafka Connect cluster
.
To create the required Kafka connector, you must first download Apache Kafka Connect.
In the next step, you can give the endpoint of the Kafka Cluster as the Address of Apache Kafka Broker
and then download the provided Kafka Connect properties.
connect-standalone.properties
file should be located in the same folder as Kafka.
Open connect-standalone.properties
and add the following properties.
Rockset Sink Connector
and Rockset Sink Connector Properties
. Locate these files in the same folder with Kafka as well.
transcript
in this case. Select the Messages tab, then click Produce a new message. Send a message in JSON format like the one below:
Active
.
Create Collection from Integration
. This will allow you to collect the data from the Uptash Kafka topic and query that data.
Type your Kafka topic in the data source selection step.
Transform Data
step.
Query This Collection
. Go back to the Upstash console and produce a new message in the source topic.