Skip to content

add kafka producer cli command - #1

Open
miazn wants to merge 6 commits into
testnet3from
mia-test
Open

add kafka producer cli command#1
miazn wants to merge 6 commits into
testnet3from
mia-test

Conversation

@miazn

@miazn miazn commented Aug 3, 2023

Copy link
Copy Markdown
Owner

Wanted an easy way to call my new kafka producer in isolation from snarkOS, so decided to create a new cli command.

This works by adding a dir to the existing cli folder and allowing the message to be inserted in cli arguments. Note that you need to run docker-compose up for this to work.

Also you need to declare the topic names ahead of time (harder to declare using the rust script itself). The way we might do this on the node is to write an envsubst script for the docker-compose file itself on node startup.

Also note that these kafka brokers are not encrypted, should add before pushing to node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant