opencodeco / kviewer

๐Ÿ‘๏ธ The `kviewer` is a command-line tool built in Go to consume Kafka messages in a formatted and user-friendly manner.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kviewer

The kviewer is a command-line tool built in Go to consume Kafka messages in a formatted and user-friendly manner.

How to Use

To consume messages from a topic:

./bin/kviewer consume <my-topic> [number-of-messages-to-be-readed]

If the number of messages isn't specified, the kviewer will consume indefinitely until interrupted.

Configuration

To configure the Kafka connection, create a config.yaml file in the project's root directory. The file should contain the following configuration:

kafka:
  host: "your_kafka_host"
  port: "your_kafka_port"

How to Contribute

  • Fork the project on GitHub.
  • Clone the fork to your local machine.
  • Create a branch for your new feature or bug fix.
  • Make your changes and commit them to your branch.
  • Push your branch to your fork on GitHub.
  • Create a Pull Request from your fork to the original repository

All contributions are welcome! Please send PRs for improvements and bug fixes. If you have any questions, feel free to open an issue.

About

๐Ÿ‘๏ธ The `kviewer` is a command-line tool built in Go to consume Kafka messages in a formatted and user-friendly manner.

License:MIT License


Languages

Language:Go 100.0%