Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ksqlDB example: Create a new stream with the desired number of partitions.
CREATE STREAM products ...;
CREATE STREAM products_repartitioned
WITH (PARTITIONS=30) AS
SELECT * FROM products
EMIT CHANGES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.