/plushcap/analysis/confluent/confluent-tutorial-getting-started-with-the-new-apache-kafka-0-9-consumer-client

Introducing the Kafka Consumer: Getting Started with the New Apache Kafka 0.9 Consumer Client

What's this blog post about?

Apache Kafka's new Consumer API, introduced in version 0.9, offers several advantages over its predecessors. It is built on top of a new group coordination protocol and supports manual partition assignment, automatic commits, and asynchronous offset commits. The tutorial provided demonstrates the basic usage of the new consumer, including how to subscribe to topics, handle rebalancing, commit offsets, and inspect consumption progress from the command line. It also covers the synchronous and asynchronous commit APIs, as well as how to use the Consumer API for simple consumers that do not require consumer groups. The tutorial encourages users to try out the new consumer and report any issues they encounter on the Kafka mailing list or JIRA.

Company
Confluent

Date published
Jan. 21, 2016

Author(s)
Lucia Cerchie, Jason Gustafson, Josep Prat

Word count
4334

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.