Adventures in Bash: Consume Last N messages from a kafka topic on the command line
This came up while I was helping a developer debug their service. The kafka shell tools are functional, but not super well documented or easy to use. This tail -n 10 type use case is insanely diffic…