kafkajs
cluster-operator
kafkajs | cluster-operator | |
---|---|---|
6 | 3 | |
3,592 | 790 | |
- | 2.4% | |
0.0 | 9.0 | |
about 2 months ago | 10 days ago | |
JavaScript | Go | |
MIT License | Mozilla Public License 2.0 |
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
cluster-operator
-
PVC backed statefulsets with podManagementPolicy: parallel
Currently we run the SFS using podManagementPolicy: ordered, and have a list of 3 availability zones to start in, which starts pod 0 first in say us-east-1a, then pod 1 in us-east-1b, pod 2 in us-east-1c. This works fine however we've hit some scenarios where if there's multiple node restarts in multiple zones where rabbit pods are sitting the cluster can become unavailable and won't restart. As per this issue the fix is to run podManagementPolicy: parallel which will not require the lower number pods to be fully Ready before starting the higher.
-
Top 5 cloud-native Message Queues (MQs) with Node.js support
RabbitMQ uses distributed deployment mechanism. You can set up instances in a highly available manner. Just like Memphis, RabbitMQ is cloud available. This allows you to run a highly available cluster on top of infrastructure such as kubernetes in the cloud.
-
Implementing Event Driven Auto Scaling with Keda and Kubernetes
kubectl apply -f https://github.com/rabbitmq/cluster-operator/releases/latest/download/cluster-operator.yml
What are some alternatives?
node-rdkafka - Node.js bindings for librdkafka
spark-operator - Kubernetes operator for managing the lifecycle of Apache Spark applications on Kubernetes.
fast-cli - Test your download and upload speed using fast.com
ApacheKafka - A curated re-sources list for awesome Apache Kafka
slugify - Slugify a string
redpanda - Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
speed-test - Test your internet connection speed and ping using speedtest.net from the CLI
kafka-nodejs-starter - A simple Express.js API to which sends and receives messages using Apache Kafka.
React - The library for web and native user interfaces.
RabbitMQ - Open source RabbitMQ: core server and tier 1 (built-in) plugins