parallel-consumer
faust
parallel-consumer | faust | |
---|---|---|
7 | 11 | |
655 | 1,465 | |
3.4% | 2.9% | |
8.4 | 7.9 | |
6 days ago | about 1 month ago | |
Java | Python | |
Apache License 2.0 | 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.
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)
faust
-
faust VS quix-streams - a user suggested alternative
2 projects | 7 Dec 2023
-
New release of FastKafka supporting Redpanda
We have many similar ideas and paradigms, as one would expect from modern frameworks tackling the same problem. However, Faust has been deprecated and no longer managed or supported (there is a fork being maintained by the community at https://github.com/faust-streaming/faust). I guess Robinhood at some point decided not to spend any more resources on it, an often destiny of such side projects by large corporations. On the other hand, we hope to stay around for a long time and build to a framework and a community that loves it. This initial version was built using many libraries in order to have a working system and to gather feedback from the large community. We plan to replace eventually all, or at least most of dependancies, and replace then with Rust lib with Python bindings.
-
Kafka ETL tool, is there any?
Just wanted to add that there is an actively maintained fork called faust-streaming, you can find it here: https://github.com/faust-streaming/faust
-
Apache Kafka Beyond the Basics: Windowing
That's the basics yes. You have a pletora of things coming next. One is "Windowing" mentioned in the article, it's well explained and maybe it looks simple, but when you start with it, takes some time to wrap your mind around it.
The other things in kafka world are stateful transformations, which you would normally do using Java's Flink. The closest in python is Faust (the fork) [0]. What are stateful aggregations? something like doing SQL on top of a topic: group_by, count, reduce, and joins. So similar to SQL that you have kSQL [1].
Consumer groups IMO falls under basic usage, if you need to scale, take a look at it, and what are partitions and replicas, with that in mind, you'll be ok.
[0]: https://github.com/faust-streaming/faust
[1]: https://www.confluent.io/blog/ksql-streaming-sql-for-apache-...
-
How to join using Faust Streaming (Python implementation of Kafka Streams API)?
The forked one, https://github.com/faust-streaming/faust, has been updated but still doesn’t seem to support joins.
-
Real Time Data Infra Stack
Faust: Python framework
-
Kafka to HTTP POST requests
I’d like to use Python for this so I came across Faust but I’m not sure if it’s possible to create HTTP requests through Faust or if there are better alternatives.
-
Using Kafka with Python... is Confluent the only option?
There is a community fork which was stale for a while but got a new commit a couple days ago, this one might be usable, but is still quite risky (70 open issues etc.): https://github.com/faust-streaming/faust
-
Why did Robinhood abandon Faust?
There is a community which forked and actively develops faust, here’s the https://github.com/faust-streaming/faust
-
Project with Faust and Django
Hi, thanks for the answer, I'm actually using virtualenv with the requirements of the file associated with the example. However I wanted to tell you that due to covid the project is suspended but only temporarily, but there is an active fork https://github.com/faust-streaming/faust. But the example in the fork doesn't work either.
What are some alternatives?
Apache Kafka - Mirror of Apache Kafka
Memgraph - Open-source graph database, tuned for dynamic analytics environments. Easy to adopt, scale and own.
kattlo-cli - Kattlo CLI Project
redis-om-python - Object mapping, and more, for Redis and Python
eo-kafka - EO Kafka Producers and consumers for working with Apache Kafka message broker
aioredis - asyncio (PEP 3156) Redis support
Hermes - Fast and reliable message broker built on top of Kafka.
arq - Fast job queuing and RPC in python with asyncio and redis.
Nakadi - A distributed event bus that implements a RESTful API abstraction on top of Kafka-like queues
Faust - Python Stream Processing
mtc-demo - Demo for multithreaded usage of KafkaConsumer
debezium - Change data capture for a variety of databases. Please log issues at https://issues.redhat.com/browse/DBZ.