Package Exports
- @djpfs/kafka-adonisjs
- @djpfs/kafka-adonisjs/build/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@djpfs/kafka-adonisjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
A Kafka provider for AdonisJS v5
Adonis Kafka provides an easy way to start using Kafka.
Installation
npm i @djpfs/kafka-adonisjs
Setup
node ace configure @djpfs/kafka-adonisjs
Configuration
npm i @djpfs/kafka-adonisjs
node ace configure @djpfs/kafka-adonisjs
Edit the .env
file to match your Kafka configuration.
Edit the config/kafka.js
file to edit the default configuration.
Usage
Create your producer and consumer in start/kafka.js
Demo
You can find a demo project here.