Consuming messages from Kafka - decoupling consumption and processing

Track

Core Java, Frameworks & Servers

Date and time

-

Room

-

Duration

45'

Common approach for consuming messages from Kafka is to use single thread both for fetching and processing of messages. KafkaConsumer is not thread-safe, so this approach fits in well. But in some use cases, this might not be most optimal way to do it. Another approach is to decouple consumption and processing, so we can achieve processing parallelization with single consumer and get the most out of multithreaded execution environment. While this can boost your application efficiency, it's not trivial to implement. In this talk we'll explore challenges we face when trying to optimize message processing from Kafka.

Lecture details

Type: Lecture
Level of difficulty: Detailed
Experience Level: Experienced
Desirable listeners function: Developer , System Arhitect , Project leader
Group of activity: Core Java, Frameworks & Servers

About speaker

Like us on Facebook

We post news, photos and other interesting facts on official JavaCro Facebook Page.

Follow us on Twitter

Keep up to date with all the news on Twitter!

Organizers

The conference is organized by the Croatian Association of Oracle users & Croatian Java Users Association. 

Media Sponsors