This repository illustrates
- How to stream the data from Mastadon with Mastodon client library
- How to use node-rdkafka to send Mastodon data to an Apache Kafka topic.
- Add your ca.pem, certificate.cert and service.key to certificates folder.
- Copy .env.example, rename to .env and set kafka.uri to point to you Aiven for Apache Kafka service
- Add your Mastodon token to .env
- Run
npm install
- Run
npm run start
This project does not expect any contributions.
This work is licensed under the Apache License, Version 2.0. Full license text is available in the LICENSE file and at http://www.apache.org/licenses/LICENSE-2.0.txt
Apache Kafka is either a registered trademark or trademark of the Apache Software Foundation in the United States and/or other countries.