0.4.4 • Published 6 years ago

knamp-transmitter-bridge v0.4.4

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Transmitter Bridge

Produce POST requests to Apache Kafka topic and trigger the Content-Transmitter.

Usage

Install via yarn

yarn install knamp-transmitter-bridge

Then configure it and use it

import TransmitterBridge from "knamp-transmitter-bridge";

(async () => {

  const server = await TransmitterBridge({
    clientName: "transmitter-client",
    groupId: "transmitter-group",
    produceTo: "transmitter-consume",
    webserver: {
        port: 8844
    }
  });

  server.on("error", (error) => {
    console.error(error);
  });

  server.on("request", data => {
    console.log(data);
  });
})();

Uses

  • Sinek, consuming and producing messages to and from Apache Kafka

License

This project is under MIT.

0.4.4

6 years ago

0.4.3

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago