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

Repository files navigation

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.

About

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

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages