python-markdown-keywords
Easy example of usage Kafka with Scramjet platform.
Running
❗ Remember to setup transform-hub locally or use the platform's environment for the sequence deployment.
Open two terminals and run the following commands:
The first terminal:
# go to 'markdown-keywords' directory
cd python/markdown-keywords
# build
npm run build
If you run this sample on Self Hosted Hub, please start it with process adapter option:
DEVELOPMENT=1 sth --runtime-adapter=process
Once you've built it, you need to deploy it.
si seq deploy dist
Now you can pass *.md file to instance input., for example README.md
si inst input - README.md
The second terminal
Now you should be able to see on the output the content of README.md
file:
si inst output <INSTANCE_ID>
Check out the source on GitHub