masto.js
node-rdkafka
masto.js | node-rdkafka | |
---|---|---|
1 | 5 | |
706 | 2,061 | |
- | 0.4% | |
8.9 | 5.3 | |
12 days ago | about 1 month ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
masto.js
-
How to stream data from Mastodon public timelines to Apache Kafka with NodeJS and TypeScript
Parsing the response from the server manually is a monotonous and tedious operation. Rather than reinvent the wheel, you can use one of the available libraries for Mastodon. For this example we'll be using masto.js.
node-rdkafka
-
How to stream data from Mastodon public timelines to Apache Kafka with NodeJS and TypeScript
Open producer.ts to see the code you need to send the data to an Apache Kafka topic. To work with Apache Kafka you can use one of the existing client libraries, there are several options available. This project uses node-rdkafka, which is a NodeJS wrapper for the Kafka C/C++ library. Check its GitHub repository Readme for installation steps.
-
node.js limitations regarding Apache Kafka Consumers
Apache Kafka seemed to work very well with node.js in the beginning. node-rdkafka performed really well (https://github.com/Blizzard/node-rdkafka -> wrapper for librdkafka) .
-
It is wise to deploy multiple nodejs instance in multicore CPU?
And some native modules, like node-rdkafka will spawn threads of their own.
-
Installing node-rdkafka on M1 for use with SASL
If you're using Kafka in a Node.js app, it's likely that you'll need node-rdkafka. This is a library that wraps the librdkafka library and makes it available in Node.js. According to the project's README, "All the complexity of balancing writes across partitions and managing (possibly ever-changing) brokers should be encapsulated in the library."
-
Kafka js for Node JS developers
Copyright (c) 2016 Blizzard Entertainment. https://github.com/blizzard/node-rdkafka I am looking for your help to make…
What are some alternatives?
sengi - Mastodon & Pleroma Multi-account Desktop Client
kafkajs - A modern Apache Kafka client for node.js
touitomamout - Touitomamout is an easy way to synchronize your Twitter's tweets 🦤 to Mastodon 🦣 and Bluesky post ☁️ (also known as Twitter to Mastodon & Bluesky crossposter)
ecars - Sample application for Lightning Web Components and Salesforce Platform runtime and compute capabilities. Part of the sample gallery. Electric car manufacturer use case. Get inspired and learn best practices.
mastodon-to-kafka - Bringing data from Mastodon public timeline into Apache Kafka® topic with TypeScript
kafka-test-helper - Utility library that simplify testing of Node.js components that interacts with Kafka broker.
cf-url-shortener - URL Shortener Cloudflare function that uses Upstash Redis and Kafka along with https://materialize.com
Mastodon - Your self-hosted, globally interconnected microblogging community
spec - The AsyncAPI specification allows you to create machine-readable definitions of your asynchronous APIs.
HomeBrew - 🍺 The missing package manager for macOS (or Linux)
libuv - Cross-platform asynchronous I/O