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

Latest commit

 

History

History
40 lines (26 loc) · 1007 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 1007 Bytes

Content Transmitter

Crawl HTML Pages (triggered by Kafka events) and produces selected content to Kafka topic.

Build Status Greenkeeper badge

Usage

Install via yarn

yarn install knamp-content-transmitter

Then configure it and use it

import ContentTransmitter from "knamp-content-transmitter";

(async () => {

  const processor = await ContentTransmitter({
    clientName: "transmitter-client",
    consumeFrom: "transmitter-consume",
    groupId: "transmitter-group",
    produceTo: "generator-consume",
  });

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

Uses

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

License

This project is under MIT.