Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
/ transmitter-bridge Public archive

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

License

Notifications You must be signed in to change notification settings

knamp/transmitter-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published