Skip to content

IndustrialCloudSolutions/loopback-connector-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loopback-connector-kafka

Kafka connector for loopback-datasource-juggler.

Install

npm install loopback-connector-kafka --save

Usage

    var DataSource = require('loopback-datasource-juggler').DataSource;
    // The options for kafka-node
    var options = {
        connectionString: 'localhost:2181/kafka0.8'
    };
    var dataSource = new DataSource('kafka', options);

Or configure it in datasources.json

{
    "kafka": {
        "connector": "kafka",
        "connectionString": "127.0.0.1:2181/kafka0.8"
    }
}

LICENSE

MIT

About

Kafka connector for loopback-datasource-juggler.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published