@financialforcedev/orizuru-transport-kafka

1.0.1 • Public • Published

Orizuru Transport Kafka.

Build Status NSP Status

Orizuru Transport Kafka is a transport library for the Orizuru framework.

Install

$ npm install @financialforcedev/orizuru-transport-kafka

Usage

Use this dependency to specify the transport layer that @financialforcedev/orizuru uses as Kafka.

const
	// get classes from orizuru
	{ Server, Handler, Publisher } = require('@financialforcedev/orizuru'),

	// get the transport
	transport = require('@financialforcedev/orizuru-transport-kafka'),

	// configure the transport
	transportConfig = {
	};

new Server({ transport, transportConfig }))...
new Handler({ transport, transportConfig })...
new Publisher({ transport, transportConfig })...

API Docs

Click to view JSDoc API documentation.

Package Sidebar

Install

npm i @financialforcedev/orizuru-transport-kafka

Weekly Downloads

2

Version

1.0.1

License

BSD-3-Clause

Unpacked Size

1.06 MB

Total Files

42

Last publish

Collaborators

  • aditi0408
  • stephenwillcock
  • sfryffdc
  • dfruddffdc
  • mwoodffdc