kafkajs
RabbitMQ
kafkajs | RabbitMQ | |
---|---|---|
6 | 92 | |
3,592 | 11,608 | |
- | 1.0% | |
0.0 | 10.0 | |
about 2 months ago | 4 days ago | |
JavaScript | Starlark | |
MIT License | GNU General Public License v3.0 or later |
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.
kafkajs
-
Track every PostgreSQL data change using Debezium
I will use the KafkaJS library to achieve it quickly. Let’s just paste the code here.
-
Modern stack to build a real-time event-driven app
The streaming database writes back results to Kafka topics by using sink operation in real-time. Now, we need to add JavaScript code to consume and process discount messages received from Kafka and update the UI in real-time to display them. We can use the KafkaJS library, which is a popular Kafka client for Node.js to listen and consume Kafka messages.
-
Build a durable pub-sub with Kafka in Node.js
Before we start producing and consuming events, we need to install Kafka to our API. We will use the Kafka.js client library for Node.js.
-
Top 5 cloud-native Message Queues (MQs) with Node.js support
Once Kafka runs on Kube-native support that Strimzi offers, you can now start utilizing Node.js to create your streams and use libraries such as KafkaJS, a modern Apache Kafka client for Node.js.
- Kafkajs - A modern Apache Kafka client for node.js
- Kafkajs – A modern Apache Kafka client for Node.js
RabbitMQ
-
Building Llama as a Service (LaaS)
Although they did not make it into production, I experimented with the RabbitMQ message broker, Python (Django, Flask), Kubernetes + minikube, JWT, and NGINX. This was a hobby project, but I intended to learn about microservices along the way.
-
A Developer's Journal: Simplifying the Twelve-Factor App
Messaging/Queueing Systems (Amazon SQS, RabbitMQ, Beanstalkd)
-
FastStream: Python's framework for Efficient Message Queue Handling
Later, we discovered Propan, a library created by Nikita Pastukhov, which solved similar problems but for RabbitMQ. Recognizing the potential for collaboration, we joined forces with Nikita to build a unified library that could work seamlessly with both Kafka and RabbitMQ. And that's how FastStream came to be—a solution born out of the need for simplicity and efficiency in microservices development.
-
The Complete Microservices Guide
Inter-Service Communication: Middleware provides communication channels and protocols that enable microservices to communicate with each other. This can include message brokers like RabbitMQ, Apache Kafka, RPC frameworks like gRPC, or RESTful APIs.
-
Project Structure Review [.Net] [Console]
This is an implementation of pub/sub. The publisher is on a separate project. The message broker is Azure Service Bus. We use NServiceBus for code implementation. I use rabbitMQ broker for local tests. Nothing I can do about the tech stack. This is more of a high level single project structure review 😅
-
The Role of Queues in Building Efficient Distributed Applications
RabbitMQ is a robust and highly configurable open-source message broker that implements the Advanced Message Queuing Protocol (AMQP).
-
Should I chain calls in backend?
When using third-party services, especially within a "transaction", it's often a good idea to use a persistent Message Queue (MQ) system like RabbitMQ. Go through all their tutorials to get a really good understanding of how message queues work and how they can be used to solve your problem.
- Node still seems better than python after all this time for web server speed but..
-
Delayed events pattern, no more crons
The best technical solution to provide the event queues is to use a message-broker technology like RabbitMQ.
- RabbitMQ 3.12.0 Released
What are some alternatives?
node-rdkafka - Node.js bindings for librdkafka
NATS - High-Performance server for NATS.io, the cloud and edge native messaging system.
fast-cli - Test your download and upload speed using fast.com
mosquitto - Eclipse Mosquitto - An open source MQTT broker
slugify - Slugify a string
MediatR - Simple, unambitious mediator implementation in .NET
speed-test - Test your internet connection speed and ping using speedtest.net from the CLI
nsq - A realtime distributed messaging platform
kafka-nodejs-starter - A simple Express.js API to which sends and receives messages using Apache Kafka.
BeanstalkD - Beanstalk is a simple, fast work queue.
redpanda - Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
rq - Simple job queues for Python