Rullabcde/kafka-grep ? reverse-engineered prompt

Reverse engineered prompt

Build me a fast Kafka search tool in Go that can scan multiple topics at once and help me find messages by a simple query. I want a command line app that connects to Kafka brokers, lets me search by topic name, substring, regex, or a basic field match inside JSON, and can stop after a limit so it does not scan forever.

It should feel safe to run on production, so do not join a consumer group or commit offsets. Make it fast by checking raw bytes before parsing JSON when possible, and let me narrow the scan by time, start offset, or from the newest messages. I also want json output for piping into other tools.

If it makes sense, add a small web page too, with a search form, live progress, and clickable results that expand the matching message. Use current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab