2.2.0 • Published 5 years ago

hermesjs-kafka v2.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

hermesjs-kafka

Kafka adapter for HermesJS.

Installing

npm install hermesjs-kafka

Example

const Hermes = require('hermesjs');
const KafkaAdapter = require('hermesjs-kafka');

const app = new Hermes();

app.addAdapter(KafkaAdapter, {
  clientId: 'myClientId',
  brokers: ['localhost:9092'],
  consumerOptions: {
    groupId: 'myGroupId',
  },
  topics: ['user__signedup'],
  topicSeparator: '__',
});

See a working example here.

Author

Fran Méndez (fmvilas.com)

2.2.0

5 years ago

2.1.0

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.1.0

5 years ago