-
-
Save confluentgist/2e9f37db0d9810044f6836f48b267fcd to your computer and use it in GitHub Desktop.
ksqlDB example: read topic as stream
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Create ksqlDB stream from Kafka topic. | |
CREATE STREAM myStream (username VARCHAR, location VARCHAR) | |
WITH (KAFKA_TOPIC='input-topic', VALUE_FORMAT='...'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment