[[Redpanda]] is an alternative. [What is Apache Kafka®? (A Confluent Lightboard by Tim Berglund) + ksqlDB](https://www.youtube.com/watch?v=06iRM1Ghr1k). [Kafka: The Definitive Guide, 2nd Edition](https://learning.oreilly.com/library/view/kafka-the-definitive/9781492043072/) seems like a good book. [I wrote a children's book / illustrated guide to Apache Kafka](https://news.ycombinator.com/item?id=27541339) [Gently Down the Stream](https://www.gentlydownthe.stream/) > Like many of the offerings from Amazon Web Services, Amazon Kinesis software is modeled after an existing Open Source system. In this case, Kinesis is modeled after Apache Kafka. https://faun.pub/apache-kafka-vs-apache-kinesis-57a3d585ef78 https://www.xeotek.com/an-in-depth-look-at-amazon-kinesis-and-a-comparison-to-apache-kafka/ ## Topics ## Producers ## Python Serialize JSON messages using the [[Python]] library [`kafka-python`](https://kafka-python.readthedocs.io): ```python from kafka import KafkaProducer producer = KafkaProducer(value_serializer=lambda v: json.dumps(v).encode('utf-8')) producer.send(topic='logs', {'foo': 'bar'}) ```