timeplus-io / proton

A stream processing engine and database, and a fast and lightweight alternative to ksqlDB and Apache Flink, 🚀 powered by ClickHouse
https://timeplus.com
Apache License 2.0
1.59k stars 71 forks source link

Proton provides an easy way to run demo #547

Open jovezhong opened 10 months ago

jovezhong commented 10 months ago

Use case

Today to demo Proton, the user has to create a random stream, or create an external stream to connect to Kafka to query data. The goal is to simplify this, so that on our home page, the simple steps to get started with proton will be:

Just 1 line. This command will download the latest single binary of Proton, install it to local folder, then proton playground will start the local proton, create random streams, and wait for user input via proton client

If the user types exit, the local proton server should exits too.

This can also work in Docker image.

Reference: https://docs.warpstream.com/warpstream/getting-started/run-the-agent-locally docker run -p 8080 -p 9092:9092 public.ecr.aws/warpstream-labs/warpstream_agent:latest playground will start the warpstream in playground mode with a few topics created.

chenziliang commented 10 months ago

When you have docker, it could be much easier