Skip to content

Aiven-Labs/mastodon-cleaned-message-body-to-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streaming data from Mastodon public timelines to Apache Kafka with NodeJS

This repository illustrates

  1. How to stream the data from Mastodon with Mastodon client library
  2. How to use node-rdkafka to send Mastodon data to an Apache Kafka topic.

Set up

  1. Add your ca.pem, certificate.cert and service.key to certificates folder.
  2. Copy .env.example, rena´me to .env and set kafka.uri to point to you Aiven for Apache Kafka service
  3. Run npm install
  4. Run npm run start

License

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

Trademarks

Apache Kafka is either a registered trademark or trademark of the Apache Software Foundation in the United States and/or other countries.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published