0.3.0 • Published 2 years ago

@yssystems/plugin-broker-kafka v0.3.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 years ago

@yssystems/plugin-kafka

Implement Kafka as the message broker in your YSsystems's generated services.

Purpose

This plugin generates the relevant code to provide you with end-to-end integration for a Kafka message broker.

It generates the following parts:

  • A topics list as a selectable enum.

  • Kafka module and service with a base service as the plugin default behavior.

  • A Kafka options getter function that extracts all the relevant variables from the process.env data.

Usage

This plugin provides you with a ready configured NestJS module that you can use in your service. To customize the client options update the .env file with the relevant options.

0.3.0

2 years ago