loopback-connector-kafkajs
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.3 • Public • Published

    loopback-connector-kafkajs

    Kafka connector for loopback-datasource-juggler.

    Install

    npm install loopback-connector-kafkajs --save

    Usage

    var DataSource = require("loopback-datasource-juggler").DataSource;
    // The options for kafkajs
    var options = {
      host: "127.0.0.1:9092",
    };
    var dataSource = new DataSource("kafkajs", options);

    Or configure it in datasources.json

    {
        "kafkajs": {
            "connector": "kafkajs",
            "host": "127.0.0.1:9092"
        }
    }

    LICENSE

    MIT

    Install

    npm i loopback-connector-kafkajs

    DownloadsWeekly Downloads

    15

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    4.42 kB

    Total Files

    4

    Last publish

    Collaborators

    • husseinmkwizu