This Week in Fluvio #16
Welcome to This Week in Fluvio, our weekly newsletter for development updates to Fluvio open source. Fluvio is a distributed, programmable streaming platform written in Rust.
Logs from connectors are now accessible from the CLI
fluvio connector logs <connector name>
In this example output, we can see some error output from the connector that would have previously been inaccessible.
$ fluvio connector logs my-test-mqtt -f
2021-12-15T05:20:21.770042Z ERROR mqtt: Mqtt error MqttState(Deserialization(PayloadSizeLimitExceeded(16635)))
2021-12-15T05:20:27.684853Z ERROR mqtt: Mqtt error MqttState(Deserialization(PayloadSizeLimitExceeded(16635)))
Using the CLI consumer now has a new spinner to give feedback about the stream waiting for data.
Here’s a short clip of the spinner in action with streaming data.
Given that these are still long commands, we’ve added aliases too
This actually isn’t new, but it was hidden. Thanks to bohlmannc for helping us resolve this!
$ fluvio completions -h
Generate command-line completions for Fluvio
Run the following two commands to enable fluvio command completions.
Open a new terminal for the changes to take effect.
$ fluvio completions bash > ~/fluvio_completions.sh
$ echo "source ~/fluvio_completions.sh" >> ~/.bashrc
fluvio completions <SUBCOMMAND>
-h, --help Prints help information
bash Generate CLI completions for bash
fish Generate CLI completions for fish
help Prints this message or the help of the given subcommand(s)
For the full list of changes this week, be sure to check out our CHANGELOG.
Until next week!