Last active
January 25, 2018 00:31
-
-
Save apurvam/f206f1009291d898df80bb781e8428af to your computer and use it in GitHub Desktop.
An example of how to dump the contents of a topic using 'print'.
This file contains 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
ksql> print 'pageviews_kafka_topic_json'; | |
Format:JSON | |
{"ROWTIME":1516753301093,"ROWKEY":"1","viewtime":1516753300961,"pageid":"Page_53","userid":"User_9"} | |
{"ROWTIME":1516753301458,"ROWKEY":"11","viewtime":1516753301458,"pageid":"Page_38","userid":"User_5"} | |
{"ROWTIME":1516753301660,"ROWKEY":"21","viewtime":1516753301660,"pageid":"Page_25","userid":"User_2"} | |
^C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment