Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building Data Streaming Applications with Apache Kafka

You're reading from  Building Data Streaming Applications with Apache Kafka

Product type Book
Published in Aug 2017
Publisher Packt
ISBN-13 9781787283985
Pages 278 pages
Edition 1st Edition
Languages
Authors (2):
Chanchal Singh Chanchal Singh
Profile icon Chanchal Singh
Manish Kumar Manish Kumar
Profile icon Manish Kumar
View More author details

Table of Contents (14) Chapters

Preface Introduction to Messaging Systems Introducing Kafka the Distributed Messaging Platform Deep Dive into Kafka Producers Deep Dive into Kafka Consumers Building Spark Streaming Applications with Kafka Building Storm Applications with Kafka Using Kafka with Confluent Platform Building ETL Pipelines Using Kafka Building Streaming Applications Using Kafka Streams Kafka Cluster Deployment Using Kafka in Big Data Applications Securing Kafka Streaming Application Design Considerations

Common messaging publishing patterns

Applications may have different requirements of producer--a producer that does not care about acknowledgement for the message they have sent or a producer that cares about acknowledgement but the order of messages does not matter. We have different producer patterns that can be used for application requirement. Let's discuss them one by one:

  • Fire-and-forget: In this pattern, producers only care about sending messages to Kafka queues. They really do not wait for any success or failure response from Kafka. Kafka is a highly available system and most of the time, messages would be delivered successfully. However, there is some risk of message loss in this pattern. This kind of pattern is useful when latency has to be minimized to the lowest level possible and one or two lost messages does not affect the overall system functionality. To use...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}