Skip to content

Files

Latest commit

author
riferrei
Aug 8, 2019
a028a90 · Aug 8, 2019

History

History
This branch is 136 commits behind confluentinc/demo-scene:master.

ksql-dump

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 8, 2019
Aug 8, 2019
Aug 8, 2019
Aug 8, 2019

KSQL Dump

Building

This utility was written in Go, therefore you need to have it installed in your machine to build a native executable. You can download Go here https://golang.org/dl/. To build a new native executable, execute the following command:

go build -o ksqldump ksqldump.go

Using

You might want to put the utility in your PATH so you don’t need to keep specifying where the file resides. Once you have done this, just execute the utility as shown below:

ksqldump -s <KSQL_SERVER> -f <FILENAME>

If the KSQL Server has BasicAuth enabled, you are going to need to provide credentials in order to the utility to work. To provide credentials, execute the utility as shown below:

ksqldump -s <KSQL_SERVER> -f <FILENAME> -u <USERNAME> -p <PASSWORD>