Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ksqlDB example: read topic as table
-- Create ksqlDB table from Kafka topic.
CREATE TABLE myTable (username VARCHAR, location VARCHAR)
WITH (KAFKA_TOPIC='input-topic', KEY='username', VALUE_FORMAT='...');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment