Sequence that suggests keywords for header in *.md. This is also an easy example of usage Kaffka with Scramjet platform.
Easy example of usage Kaffka with Scramjet platform.
❗ 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
si inst input - README.md
The second terminal
Now you should be able to see on the output the content of
si inst output <INSTANCE_ID>