demo-scene
confluent-kafka-python
Our great sponsors
demo-scene | confluent-kafka-python | |
---|---|---|
24 | 9 | |
1,444 | 3,606 | |
0.8% | 1.8% | |
4.3 | 6.9 | |
7 days ago | about 13 hours 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
-
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.
-
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?
Are you getting ahead of yourself to use Kafka Connect? No, definitely not! Kafka Connect is part of Apache Kafka so you're just learning more Kafka :) The connector plugins vary in author and licence. There is a mixture of vendor and community-written plugins. The Twitter one you found is great - I've used it in the past several times for projects. If you want another set of code to look at using it there is this repo here and related blog
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.
-
Good source of free/public events to experiment with?
Also check out developer.confluent.io if you want more Kafka hands-on tutorials and exercises
-
Apache Kafka, distributed system architecture udemy, youtube, or something nice learning course
Check out developer.confluent.io. There's video courses, tutorials and blogs to learn from.
confluent-kafka-python
-
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-...
-
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?
Confluent Kafka Golang Client - Confluent's Apache Kafka Golang client
aiokafka - asyncio client for kafka
docker-kafka-kraft - Apache Kafka Docker image using Kafka Raft metadata mode (KRaft). https://hub.docker.com/r/moeenz/docker-kafka-kraft
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
kafka-python - Python client for Apache Kafka
kafka-lag-exporter - Monitor Kafka Consumer Group Latency with Kafka Lag Exporter
examples - Apache Kafka and Confluent Platform examples and demos
protoactor-go - Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
kafka-connect-opensky - Kafka Source Connector reading in from the OpenSky API
quix-streams - A Python library for building containerized ML and Generative AI applications with Apache Kafka.
ApacheKafka - A curated re-sources list for awesome Apache Kafka
pykafka - Apache Kafka client for Python; high-level & low-level consumer/producer, with great performance.