show
show copied to clipboard
kafkacat
What?
Write a clone of kafkacat in Rust (https://github.com/edenhill/kafkacat)
Why?
Show how to write CLI apps that follow best-practices. Would also be a fun tool to have and I need such a tool on a regular basis.
How?
Probably something around structopt, Rust 2018 edition.
+1 to see Rust written for use with Apache Kafka, which a lot of companies are adopting lately.
Yeah, my idea is to write a tool similar to the beautiful bat by @sharkdp or @BurntSushi's ripgrep. 😃
Actually, what I planned is already done here: https://github.com/spicavigo/kafka-rust/blob/master/examples/console-consumer.rs Might want to choose a different example for writing a CLI app. 😉