Nanotechnology Promises Much
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    loopback-connector-kafkapublic

    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

    Keywords

    none

    install

    npm i loopback-connector-kafka

    Downloadslast 7 days

    43

    version

    0.2.1

    license

    MIT

    homepage

    github.com

    last publish

    collaborators

    • avatar