Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

certinia/orizuru-transport-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.