Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rafaelgss/kafka-load-consumer
Application to make asynchronous message on kafka. Proposes load tests on Event Driven application
https://github.com/rafaelgss/kafka-load-consumer
Last synced: 2 days ago
JSON representation
Application to make asynchronous message on kafka. Proposes load tests on Event Driven application
- Host: GitHub
- URL: https://github.com/rafaelgss/kafka-load-consumer
- Owner: RafaelGSS
- License: mit
- Created: 2020-05-29T01:42:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T21:01:37.000Z (over 1 year ago)
- Last Synced: 2024-08-10T23:23:50.691Z (about 2 months ago)
- Language: JavaScript
- Size: 226 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kafka-load-consumer
NodeJs tool to publish messages on kafka
## Installation
This is a [Node.js](https://nodejs.org/) module available through the
[npm registry](https://www.npmjs.com/). It can be installed using the
[`npm`](https://docs.npmjs.com/getting-started/installing-npm-packages-locally)
or
[`yarn`](https://yarnpkg.com/en/)
command line tools.```sh
npm install -g kafka-load-consumer
```## Tests
```sh
npm install
npm test
```## Usage
Create an `kafka-load.js` at home directory
```sh
kafka-load-consumer --init
```and run at directory of `kafka-load.js`
```sh
kafka-load-consumer
```## Dependencies
- [node-rdkafka](https://ghub.io/node-rdkafka): Node.js bindings for librdkafka
- [pino](https://ghub.io/pino): super fast, all natural json logger## Dev Dependencies
- [eslint](https://ghub.io/eslint): An AST-based pattern checker for JavaScript.
- [eslint-config-standard](https://ghub.io/eslint-config-standard): JavaScript Standard Style - ESLint Shareable Config
- [eslint-plugin-import](https://ghub.io/eslint-plugin-import): Import with sanity.
- [eslint-plugin-node](https://ghub.io/eslint-plugin-node): Additional ESLint's rules for Node.js
- [eslint-plugin-promise](https://ghub.io/eslint-plugin-promise): Enforce best practices for JavaScript promises
- [eslint-plugin-standard](https://ghub.io/eslint-plugin-standard): ESlint Plugin for the Standard Linter## License
MIT