This provides language support for KSQL - the streaming SQL engine for Apache Kafka.
From VSCode, go to Extensions (View->Extensions) and search for KSQL
. Click on Install
:)
You can also download the vsix
file from the Marketplace directly to install it locally.
Any file with the extension .ksql
will be automagically detected.
To apply it to any other file, switch the language mode to KSQL
. You can do this one of two ways:
The second option is verbose to explain but much faster if you're a keyboard-warrior 😎
When you install the extension you get a Kafka icon in the activity bar, and you can see the topics, streams and tables in your connected instance. You can refresh the Explorer with Ctrl+Shift+P and choose the Refresh KSQL Explorer
command.
The extension assumes that your KSQL server is at localhost:8088
. If it is not change the endpoint URL in the workspace config.
npm install
F5
to open a new window with this extension loaded.src/KSQLMain.ts
to debug the extension.PRs very welcome!
See CHANGELOG.md