demo-scene
confluent-kafka-python

demo-scene | confluent-kafka-python | |
---|---|---|
25 | 10 | |
1,526 | 221 | |
0.7% | 14.5% | |
5.7 | 8.7 | |
4 days ago | 4 days ago | |
Shell | 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.
demo-scene
-
Show HN: Settling merge or rebase? with Kafka and JavaScript <3
Hi HN!
I recently created a website that displays your votes on classically debated questions like 'tabs or spaces?'?
One of my favorite things about it is that if you leave the result progress bars up, and someone else votes, you can see the results change in real time.
I used the confluent-kafka-javascript(https://github.com/confluentinc/confluent-kafka-javascript) client which is currently in early access.
Votes are sent to a Kafka topic deployed in Confluent Cloud, and the code for the frontend is on Amplify while the code creating the route and Kafka clients is on EC2.
I put a version of the code here(https://github.com/confluentinc/demo-scene/tree/master/confl...) so you can follow along and deploy a similar project for yourself. I'm hoping it makes a fun way for you to learn this Kafka JavaScript client.
In the future, I'd like to implement features like allowing you to change your vote, or a board summarizing votes like "30% of developers who voted for X voted for Y".
Enjoy! Looking forward to your feedback.
-
Confused and frustrated about Kafka
Here’s a great place to dig into things: https://developer.confluent.io
-
Getting Started as a Kafka Developer
Once you’ve decided on a language to focus on, it’s time to start filling those knowledge gaps. Don’t be discouraged by this step. We all have knowledge gaps, and filling them can be very rewarding. First, you’ll want to make sure you have a good understanding of Kafka basics. Fortunately, there are many resources to help you with this. A web search will turn up many great books and other resources. And, of course, Confluent Developer offers interactive courses ranging from introductory (Apache Kafka 101) to advanced (Kafka Internals), full documentation, and other content to help you get started.
- Any suggestions for writing a long thesis about Kafka's scalability, availability and fault-tolerance?
-
What Are Apache Kafka Consumer Group IDs?
Confluent Developer: Learn Apache Kafka through Confluent Developer tutorials, documentation, courses, blog posts, and examples.
-
Problems with the set-up
Spend some time on https://developer.confluent.io , especially https://developer.confluent.io/get-started/java/ and look at https://github.com/confluentinc/examples . Those will give really practical examples for how to set up your configs and start consuming
-
Looking For Suggestions on The Definitive Guide (V2)
FWIW you'll find a bunch of promo codes over at developer.confluent.io
-
Kafka to fetch data from another microservices
Kafka streams is a Java library built on the producer/consumer APIs designed to create event-driven microservices on top of Kafka. In general, I recommend exploring https://developer.confluent.io to learn more
-
Creating topics and console consumers using a dockerized Kafka cluster?
For example: https://github.com/confluentinc/demo-scene/tree/master/kafka-connect-zero-to-hero
-
A few starter questions: What is a good setup for learning? Is Confluent platform ok?
should I be reading a different material for a first Kafka project and working with a different kind of setup? Now, I can't be unbiased on this one ;) One of the things we're doing with Confluent Developer is to try and create a resource for people to learn Kafka from the ground up, whether they ultimately decide to pursue it on Confluent or not. The fundamentals of Kafka that you'll be learning are going to be as applicable whether you're using Apache Kafka self-managed, or Confluent, or AWS' MSK, or whatever else. Personally I'd this stage I'd use whatever setup you find easiest and least friction to your learning journey. As u/louisvell mentioned, /u/stephanemaarek's courses on Udemy are also very popular, if you wanted a "second opinion" on how to approach learning Kafka.
confluent-kafka-python
- Confluent Deletes/Hides Librdkafka
-
Show HN: Confluent Kafka support added to FastStream v0.4.0rc0
Responding to popular demand, the latest 0.4.0rc0 version introduces support for Kafka stream processing using Confluent Kafka's Python library - https://github.com/confluentinc/confluent-kafka-python.
-
confluent-kafka-python VS quix-streams - a user suggested alternative
2 projects | 7 Dec 2023
-
Recently joined a DE team and I've been asked to study async, multiprocessing, queuing, and Kafka. Can anybody tell me how to proceed and also share resources that I can use.
- confluent kafka library (https://github.com/confluentinc/confluent-kafka-python) uses librdkafka, and is faster that kafka-python - https://www.bytewax.io/(https://github.com/bytewax/bytewax) is another option. Handles the dirty work of exchanging data across processes for parallel stateful processing
-
New to kafka..
Here are examples https://github.com/confluentinc/confluent-kafka-python
-
On Efficiently Partitioning a Topic in Apache Kafka
I just wanted to mention that pykafka is currently unmaintained and archived on GitHub:
https://github.com/Parsely/pykafka
pykafka was originally developed and maintained by my team at Parse.ly, but we no longer maintain it. We instead encourage folks to use confluent-kafka-python, which is what we have ourselves switched to in our production systems:
https://github.com/confluentinc/confluent-kafka-python
(pykafka was developed at a time before Confluent invested in their own Python binding. Some of the history of the project is described in this 2016 blog post[1] and our original 2015 announcement[2].)
[1]: https://blog.parse.ly/pykafka-now/
[2]: https://blog.parse.ly/announcing-pykafka-python-support-for-...
-
Is there a Python API for event-driven Kafka consumer?
confluent-kafka
-
Kafla producer over internet
I also found that there is a library provided by confluent https://github.com/confluentinc/confluent-kafka-python which maybe helpful here. Is that right? I see a section "SSL certificates" but couldnt get much insight out of this.
-
Confluent Kafka Python Schema Registry: Why the consumer does not need it?
ProtobugDeserializer does not allow anything but the protoBuf message type (see here):
-
Learning Apache Kafka
I'd start off with some simple producer/consumer code to get an understanding of interacting with Kafka's APIs from Python - there's a Python client with some good examples of the producer and consumer as well as more complex examples.
What are some alternatives?
cp-all-in-one - docker-compose.yml files for cp-all-in-one , cp-all-in-one-community, cp-all-in-one-cloud, Apache Kafka Confluent Platform
aiokafka - asyncio client for kafka
examples - Apache Kafka, Apache Flink and Confluent Platform examples and demos
kafka-python - Python client for Apache Kafka
docker-kafka-kraft - Apache Kafka Docker image using Kafka Raft metadata mode (KRaft). https://hub.docker.com/r/moeenz/docker-kafka-kraft
quix-streams - A Python library for building containerized ML and Generative AI applications with Apache Kafka.
