parallel-consumer
decaton
parallel-consumer | decaton | |
---|---|---|
7 | 1 | |
655 | 316 | |
3.4% | 0.3% | |
8.4 | 7.2 | |
6 days ago | 23 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)
decaton
-
RabbitMQ vs. Kafka – An Architect’s Dilemma (Part 1)
> You can stream messages into a buffer and process them in parallel, and commit the low watermark offset whenever it changes, as described above. I've implemented this in .NET with Channels and saturate the CPUs with no problem.
And there are libraries that will manage all this for you e.g. https://github.com/line/decaton
What are some alternatives?
Apache Kafka - Mirror of Apache Kafka
eo-kafka - EO Kafka Producers and consumers for working with Apache Kafka message broker
kattlo-cli - Kattlo CLI Project
kafka-java-spring-boot-poc - Kafka integration with Java Spring-boot with one application serving as a producer and the other consuming the messages
Hermes - Fast and reliable message broker built on top of Kafka.
wafka - Apache Kafka API exposed through WebSocket and REST protocols
Nakadi - A distributed event bus that implements a RESTful API abstraction on top of Kafka-like queues
atelier-spring-kafka - Projet d'exemple d'utilisation de la lib `org.springframework.kafka:spring-kafka`
mtc-demo - Demo for multithreaded usage of KafkaConsumer
Thingsboard - Open-source IoT Platform - Device management, data collection, processing and visualization.