Arroyo
This page describes how to integrate WarpStream with Arroyo, a distributed stream processing engine written in Rust, that is designed to efficiently perform statement computations on streams of data.
Last updated
This page describes how to integrate WarpStream with Arroyo, a distributed stream processing engine written in Rust, that is designed to efficiently perform statement computations on streams of data.
Last updated
A video walkthrough can be found below:
WarpStream account - get access to WarpStream by registering here.
Arroyo is installed and running - instructions are found here.
WarpStream cluster up and running.
Obtain the Bootstrap Broker from the WarpStream console by navigating to your cluster and clicking the Connect tab. If you don't have SASL credentials yet, you can also create a set of credentials from the console.
Store these values for easy reference; they will be needed in Arroyo. If you are going to produce records to your topic from the command line, then export them in a terminal window:
Then, create a topic in the WarpStream console if you don't already have one.
You can use the WarpStream CLI to produce messages to your topic if you don't already have an active topic to work with:
Note that the WarpStream CLI uses double commas (,,)
as a delimiter between JSON records.
Launch Arroyo with arroyo cluster
and then open the Arroyo Web UI at http://localhost:5115/
. which will present the following screen, and you'll want to click on "Connections" and then click on "Create Connection":
Select "Kafka" from the list of available connections:
Now file in the connection information as shown below:
Click on the "Validate" button, and if there are no errors, the button will change to "Create", which you will then click and be presented with this screen:
The available Topics for the cluster will be in the drop-down list. Select the one you want to work with, set the other fields as desired, and click "Next." This will display the following screen to define the schema:
Select the applicable information on this page and click "Next" to get to the final validation and Create step.
From here, you can configure a data pipeline in Arroyo that ingests from a WarpStream producer.
Next, check out the WarpStream docs for configuring the WarpStream Agent, or review the Arroyo Docs to learn more about what is possible with WarpStream and Arroyo!