parallel-consumer
Apache Kafka
Our great sponsors
parallel-consumer | Apache Kafka | |
---|---|---|
7 | 26 | |
648 | 27,335 | |
4.8% | 1.5% | |
8.5 | 9.9 | |
16 days ago | 3 days ago | |
Java | Java | |
Apache License 2.0 | Apache 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.
parallel-consumer
-
Optimizing Kafka Producers and Consumers
Hi everyone, my name is Daniel and I run a website called Rock the JVM [1]. It's a popular site and blog for Scala, and we've recently started to create guides and materials for other libraries and languages. This video is about - maximizing producer throughput - minimizing producer latency - running multiple consumers vs number of partitions, analyzing parallelism - parallel consumers [2] for 1000x perf increase vs 1x single-threaded consumer I also have written forms of all videos as long-form blog posts, and you can find the written guide here [3]. I hope you like it - let me know if you need anything or have any questions! [1] https://rockthejvm.com [2] https://github.com/confluentinc/parallel-consumer [3] https://blog.rockthejvm.com/optimizing-kafka-clients-a-hands-on-guide/
-
Architectural advice for slow processes
So we want to maximize parallelism while keeping DLQ style error handling and stability. We want to send messages to DLQs if any error happens and we don't want any message to be unprocessed and still be committed. I know there are Confluent Parallel Consumer, Greyhound and an article about Multi-Threaded Messaging with Kafka. But I'm not sure if they are ready for production.
-
Kafka to HTTP POST requests
I haven’t used Faust, but it should be fine for your use case if you decide not to use the http sink connector. If you are open to Java, the parallel consumer library will have MUCH better performance because the http requests won’t block. It even aims to provide automatic dead letter queue handling sometime in the future, which you mentioned you need.
- Kafka Parallel Consumer
-
How many different groups/consumers for X topics?
Interesting. I think your use case might be well suited for the parallel consumer — https://github.com/confluentinc/parallel-consumer
- Looking for examples of Multithreaded Consumer Processing
-
Balancing high message load with high processing time
Take a look at Confluent's Parallel Consumer library, it will handle this sort of scenario for you: https://github.com/confluentinc/parallel-consumer (disclaimer: I'm the author)
Apache Kafka
-
On Implementation of Distributed Protocols
Apache Kafka — a distributed event streaming platform implementing a variant of the Raft consensus protocol (written in Java, integrated with Scala);
- Implementing tagged fields for Kafka Protocol
-
Help me identify this design pattern
Spring does this during autoconfiguration. For example this and this. When the user adds a configuration then it gets to overwrite the default from the template. I am looking for something similar, perhaps simpler approach.
- Kafka Broker Config properties
- Scala DevInTraining looking to contribute to projects
- *bip*
-
What is Kafka ?
Source and documentation on GitHub
-
A simple file source/sink connector?
Code is still in trunk though. https://github.com/apache/kafka/tree/trunk/connect/file/src/main/java/org/apache/kafka/connect/file
-
Can someone please eli5 how the hierarchical timing wheel algorithm works?
I briefly described the algorithm in this article and there is a wonderful article from Kafka that goes into more depth in their general purpose implementation. My implementation is specialized and over optimized in comparison, e.g. by using bit manipulation to avoid more expensive division/modulus instructions. Tokio rewrote their timerwheel after I showed them mine, borrowing some ideas but also staying more general. Hope that helps!
-
How-to-Guide: Contributing to Open Source
Apache Kafka
What are some alternatives?
kattlo-cli - Kattlo CLI Project
celery - Distributed Task Queue (development branch)
eo-kafka - EO Kafka Producers and consumers for working with Apache Kafka message broker
Apache ActiveMQ Artemis - Mirror of Apache ActiveMQ Artemis
Hermes - Fast and reliable message broker built on top of Kafka.
redpanda - Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
Nakadi - A distributed event bus that implements a RESTful API abstraction on top of Kafka-like queues
jetstream - JetStream Utilities
mtc-demo - Demo for multithreaded usage of KafkaConsumer
Aeron - Efficient reliable UDP unicast, UDP multicast, and IPC message transport
Event-Meshinery - A new Framework for asynchronous signaling of processes via Kafka/Mysql/anything.
NATS - High-Performance server for NATS.io, the cloud and edge native messaging system.