PRINT

PRINT

Prints topic contents to the KSQL CLI.
Note: SQL grammar defaults to uppercase formatting. To print topics containing lower-case characters, use quotations.
PRINT qualified_name (FROM BEGINNING)? ((INTERVAL | SAMPLE) number)?

Print Example

ksql> print '/sample-stream:streams-pipe-input' FROM BEGINNING;
Format:STRING
3/16/18 1:04:39 AM EET , 1 , record1
3/16/18 1:04:39 AM EET , 5 , record5
3/16/18 1:04:39 AM EET , 6 , record6
3/19/18 4:22:51 PM EET , null , Hello
3/19/18 4:23:05 PM EET , null , Hello2