An open API service indexing awesome lists of open source software.

https://github.com/raphaelbrodrigues/kafka-nodejs-exemple

A exemple of communication between different applications using Apache Kafka and Nodejs
https://github.com/raphaelbrodrigues/kafka-nodejs-exemple

api broker docker docker-compose kafka nodejs typescript

Last synced: 2 months ago
JSON representation

A exemple of communication between different applications using Apache Kafka and Nodejs

Awesome Lists containing this project

README

          

![Kafka Logo](https://kafka.apache.org/logos/kafka_logo--simple.png)

# Kafka Nodejs Exemple
This repository contains a exemple of communication between two applications using Apache Kafka as a broker

The application `kafka-producer` is a web api responsible for capture the client's message and send to the queue, and the `kafka-consumer` is listening the broker and consuming its data

## Getting Started
* Start the docker containers
* `docker-compose up`

* Use the `rest.http` file to send a request to producer application

## References
* [Kafka](https://kafka.apache.org/)
* [Kafkajs](https://kafka.js.org/)
* [Express](https://expressjs.com/pt-br/)
* [TypeScript](https://www.typescriptlang.org/)