Benthos instance that includes DIMO specific processors.
make build
make docker
a docker-compose file is included to help with setting up a local test environment that includes a Kafka broker, Zookeeper, Clickhouse and the benthos-plugin instance.
docker-compose up -d
./benthos-plugin create -s stdin/check_signature/stdout > test.yaml
./benthos-plugin -c test.yaml
- Update unit tests
- Run
make test
to run the tests - Run
make lint
to run the linter - Run
make build
to build the binary - Run
./benthos-plugin create -s stdin/check_signature/stdout > test.yaml
to generate test config file - Run
./benthos-plugin -c test.yaml
to run the plugin - Supply the plugin with a test message and check the output:
echo '{"data": {"timestamp":1709656316768}}' | ./benthos-plugin -c test.yaml