How to master KSQL with cheat-sheet

14 July,2020 by Jack Vamvas

KSQL is the the streaming SQL Engine for the real time data processing of Kafka.  These are some of the commands 

--check KSQL is running 

ps aux | grep ksql

--check KSQL error logs (if using Confluent)

confluent log ksql-server
--list created streams

LIST STREAMS

--View the structure of STREAM

DESCRIBE mySTREAM_NAME

--display all topics
SHOW TOPICS

--display values in topic
PRINT 'topic_name'

 

Read more on Apache Kafka 

How to Rock Apache Kafka with a cheat-sheet


Author: Jack Vamvas (http://www.dba-ninja.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on How to master KSQL with cheat-sheet


dba-ninja.com