heartin's blog

Kafka Message Delivery Guarantees, Message Compression and Log Compaction

On a high level, Kafka provides following guarantees:

  1. Messages sent by a producer to a particular topic partition will be appended in the order they are sent.

    • If a message M1 is sent by the same producer as a message M2, and M1 is sent first, then M1 will have a lower offset than M2 and appear earlier in the log.

Getting Started With Kafka Cluster Example in Windows

We have seen the components and types of Kafka clusters already. We will now quickly see how Kafka components work together in a single node single broker cluster.

Even though in production scenarios, it will be almost always installed in linux/unix based machines, we will install and test it in Windows for simplicity.

 

Introduction to Kafka

Apache Kafka is a publish-subscribe based distributed messaging system. 

Kafka is open source, distributed, partitioned, and replicated.

From the architecture perspective, Kafka is closer to traditional messaging systems such as ActiveMQ or RabitMQ.

Pages

Learn Serverless from Serverless Programming Cookbook

Contact

Please first use the contact form or facebook page messaging to connect.

Offline Contact
We currently connect locally for discussions and sessions at Bangalore, India. Please follow us on our facebook page for details.
WhatsApp (Primary): (+91) 7411174113
Phone (Escalations): (+91) 7411174114

Business newsletter

Complete the form below, and we'll send you an e-mail every now and again with all the latest news.

About

CloudMaterials is my blog to share notes and learning materials on Cloud and Data Analytics. My current focus is on Microsoft Azure and Amazon Web Services (AWS).

I like to write and I try to document what I learn to share with others. I believe that knowledge is useless unless you share it; the more you share, the more you learn.

Recent comments

Photo Stream