Crawl HTML Pages (triggered by Kafka events) and produces selected content to Kafka topic.
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);
});
})();
- Sinek, consuming and producing messages to and from Apache Kafka
This project is under MIT.