SlideShare a Scribd company logo
Multiple Events in a single
topic
Bill Bejeck, Integration Architect
@bbejeck
Nice to meet you!
• Integration Architect on DevX team
• Prior to DevX ~3 years as engineer on Kafka Streams team
• Apache Kafka® Committer
• Author of “Kafka Streams in Action” - 2nd edition underway!
2
Event objects form a contract
@bbejeck
Kafka brokers work with bytes only
4
@bbejeck
Kafka brokers work with bytes only
5
@bbejeck
Potentially make unexpected changes
6
@bbejeck
Potentially make unexpected changes
7
@bbejeck
Use Schemas FTW!
8
@bbejeck
Use Schemas FTW!
9
@bbejeck
Use Schemas FTW!
10
@bbejeck
Registration details
11
@bbejeck
Registration details
12
@bbejeck
Registration details
13
@bbejeck
Registration details
14
@bbejeck
Registration details
15
Understanding subjects
@bbejeck
What is a Subject ?
• Defines a namespace for a schema
• Compatibility checks are per subject
• When a schema evolves, the subject remains, but the schema gets a new ID and
version
• Different approaches – subject name strategies
17
@bbejeck
Subjects - TopicNameStrategy
18
@bbejeck
Subjects - RecordNameStrategy
19
@bbejeck
Subjects - TopicRecordNameStrategy
20
Mapping events to topics
@bbejeck
Mapping events to topics
• Conventional wisdom – topic per distinct event
22
Purchase Customer Interaction
@bbejeck
Topic naming
23
@bbejeck
Topic naming
24
@bbejeck
Mapping events to topics
• For related events the order is important – one topic
• But we want to make sure we can limit the different record types
• What are our options?
25
Leverage schema references
@bbejeck
Schema references
• A field in a schema has an object represented by a registered schema
• Allows for schema re-use and modularity
• Enhances multi-event topics by enabling TopicNameStrategy (restricts the number of
types)
27
@bbejeck
Schema Refs
28
@bbejeck
Schema Refs
29
@bbejeck
Schema Refs
30
@bbejeck
Schema Refs
31
@bbejeck
Schema Refs
32
@bbejeck
Schema Refs redux - TopicNameStrategy
33
How to handle ?
@bbejeck
Avro (Consumer)
35
records = consumer.poll(Duration.ofSeconds(5));
records.forEach(record -> {
final SpecificRecord avroRecord = record.value();
if (avroRecord instanceof PageView) {
PageView pageView = (PageView) action;
.....
} else if (avroRecord instanceof Purchase) {
Purchase purchase = (Purchase) action;
.....
}
});
@bbejeck
Protobuf (Consumer)
36
records = protoConsumer.poll(Duration.ofSeconds(5));
records.forEach(record -> {
final CustomerEventProto.CustomerEvent customerEvent =
record.value();
ActionCase actionCase = customerEvent.getActionCase();
switch (actionCase) {
case PURCHASE -> ...;
case PAGE_VIEW -> ...;
case ACTION_NOT_SET -> ...;
}
});
@bbejeck
Protobuf (Consumer)
37
records = protoConsumer.poll(Duration.ofSeconds(5));
records.forEach(record -> {
final CustomerEventProto.CustomerEvent customerEvent =
record.value();
customerEvent = record.value();
if (customerEvent.hasPageView()) {
...
}
else if (customerEvent.hasPurchase()) {
...
}
});
@bbejeck
Kafka Streams
38
public CustomerInfo transform(String readOnlyKey,
SpecificRecord value){
CustomerInfo customerInfo = store.get(readOnlyKey);
if (customerInfo == null) {
customerInfo = CustomerInfo.newBuilder()
.setCustomerId(readOnlyKey)
.build();
}
@bbejeck
Kafka Streams
39
if(value instanceof PageView) {
PageView pageView = (PageView) value;
customerInfo.getPageViews().add(pageView.getUrl());
} else if (value instanceof Purchase) {
Purchase purchase = (Purchase) value;
customerInfo.getItems().add(purchase.getItem());
}
//Details left out
@bbejeck
Resources
• Martin Kleppmann - https://www.confluent.io/blog/put-several-event-types-kafka-topic/
• Robert Yokota - https://www.confluent.io/blog/multiple-event-types-in-the-same-kafka-
topic/
• Documentation - https://docs.confluent.io/platform/current/schema-
registry/index.html#sr-overview
• Examples - https://github.com/bbejeck/multiple-events-kafka-summit-europe-2021
40
Thank you!
@bbejeck
bill@confluent.io
cnfl.io/meetups cnfl.io/slack
cnfl.io/blog
Ad

Recommended

PPTX
Introduction to Apache Kafka
Jeff Holoman
 
PDF
Apache Kafka Architecture & Fundamentals Explained
confluent
 
PPTX
A visual introduction to Apache Kafka
Paul Brebner
 
PDF
Fundamentals of Apache Kafka
Chhavi Parasher
 
PDF
Enabling Vectorized Engine in Apache Spark
Kazuaki Ishizaki
 
PPTX
Kafka 101
Aparna Pillai
 
PDF
Everything You Always Wanted to Know About Kafka’s Rebalance Protocol but Wer...
confluent
 
PDF
Apache Kafka - Martin Podval
Martin Podval
 
PPTX
Kafka 101
Clement Demonchy
 
PPSX
Apache Flink, AWS Kinesis, Analytics
Araf Karsh Hamid
 
PPTX
Apache kafka
Viswanath J
 
PDF
Apache kafka 모니터링을 위한 Metrics 이해 및 최적화 방안
SANG WON PARK
 
PDF
Securing your Pulsar Cluster with Vault_Chris Kellogg
StreamNative
 
PDF
Kafka 101 and Developer Best Practices
confluent
 
PDF
Apache kafka performance(throughput) - without data loss and guaranteeing dat...
SANG WON PARK
 
PPTX
How to build a streaming Lakehouse with Flink, Kafka, and Hudi
Flink Forward
 
PPTX
Apache Kafka - Overview
CodeOps Technologies LLP
 
PPTX
Extending Flink SQL for stream processing use cases
Flink Forward
 
PDF
Deploying Flink on Kubernetes - David Anderson
Ververica
 
PPTX
kafka
Amikam Snir
 
PPTX
Kafka and Avro with Confluent Schema Registry
Jean-Paul Azar
 
PDF
Expose your event-driven data to the outside world using webhooks powered by ...
HostedbyConfluent
 
PDF
Introduction to Apache Kafka
Shiao-An Yuan
 
PPTX
Apache Kafka Best Practices
DataWorks Summit/Hadoop Summit
 
PDF
Hello, kafka! (an introduction to apache kafka)
Timothy Spann
 
ODP
Stream processing using Kafka
Knoldus Inc.
 
PPTX
Kafka presentation
Mohammed Fazuluddin
 
PPTX
Exactly-Once Financial Data Processing at Scale with Flink and Pinot
Flink Forward
 
PDF
Building a Streaming Platform with Kafka
confluent
 
PDF
Schema Registry 101 with Bill Bejeck | Kafka Summit London 2022
HostedbyConfluent
 

More Related Content

What's hot (20)

PPTX
Kafka 101
Clement Demonchy
 
PPSX
Apache Flink, AWS Kinesis, Analytics
Araf Karsh Hamid
 
PPTX
Apache kafka
Viswanath J
 
PDF
Apache kafka 모니터링을 위한 Metrics 이해 및 최적화 방안
SANG WON PARK
 
PDF
Securing your Pulsar Cluster with Vault_Chris Kellogg
StreamNative
 
PDF
Kafka 101 and Developer Best Practices
confluent
 
PDF
Apache kafka performance(throughput) - without data loss and guaranteeing dat...
SANG WON PARK
 
PPTX
How to build a streaming Lakehouse with Flink, Kafka, and Hudi
Flink Forward
 
PPTX
Apache Kafka - Overview
CodeOps Technologies LLP
 
PPTX
Extending Flink SQL for stream processing use cases
Flink Forward
 
PDF
Deploying Flink on Kubernetes - David Anderson
Ververica
 
PPTX
kafka
Amikam Snir
 
PPTX
Kafka and Avro with Confluent Schema Registry
Jean-Paul Azar
 
PDF
Expose your event-driven data to the outside world using webhooks powered by ...
HostedbyConfluent
 
PDF
Introduction to Apache Kafka
Shiao-An Yuan
 
PPTX
Apache Kafka Best Practices
DataWorks Summit/Hadoop Summit
 
PDF
Hello, kafka! (an introduction to apache kafka)
Timothy Spann
 
ODP
Stream processing using Kafka
Knoldus Inc.
 
PPTX
Kafka presentation
Mohammed Fazuluddin
 
PPTX
Exactly-Once Financial Data Processing at Scale with Flink and Pinot
Flink Forward
 
Kafka 101
Clement Demonchy
 
Apache Flink, AWS Kinesis, Analytics
Araf Karsh Hamid
 
Apache kafka
Viswanath J
 
Apache kafka 모니터링을 위한 Metrics 이해 및 최적화 방안
SANG WON PARK
 
Securing your Pulsar Cluster with Vault_Chris Kellogg
StreamNative
 
Kafka 101 and Developer Best Practices
confluent
 
Apache kafka performance(throughput) - without data loss and guaranteeing dat...
SANG WON PARK
 
How to build a streaming Lakehouse with Flink, Kafka, and Hudi
Flink Forward
 
Apache Kafka - Overview
CodeOps Technologies LLP
 
Extending Flink SQL for stream processing use cases
Flink Forward
 
Deploying Flink on Kubernetes - David Anderson
Ververica
 
Kafka and Avro with Confluent Schema Registry
Jean-Paul Azar
 
Expose your event-driven data to the outside world using webhooks powered by ...
HostedbyConfluent
 
Introduction to Apache Kafka
Shiao-An Yuan
 
Apache Kafka Best Practices
DataWorks Summit/Hadoop Summit
 
Hello, kafka! (an introduction to apache kafka)
Timothy Spann
 
Stream processing using Kafka
Knoldus Inc.
 
Kafka presentation
Mohammed Fazuluddin
 
Exactly-Once Financial Data Processing at Scale with Flink and Pinot
Flink Forward
 

Similar to Managing multiple event types in a single topic with Schema Registry | Bill Bejeck, Confluent (20)

PDF
Building a Streaming Platform with Kafka
confluent
 
PDF
Schema Registry 101 with Bill Bejeck | Kafka Summit London 2022
HostedbyConfluent
 
PDF
Apache Kafka as Event-Driven Open Source Streaming Platform (Prague Meetup)
Kai Wähner
 
PPTX
Kafka Streams for Java enthusiasts
Slim Baltagi
 
PPTX
Building streaming data applications using Kafka*[Connect + Core + Streams] b...
Data Con LA
 
PDF
Building Streaming Data Applications Using Apache Kafka
Slim Baltagi
 
PDF
Event-Driven Microservices: Back to the Basics
HostedbyConfluent
 
PPTX
SF big Analytics : Stream all things by Gwen Shapira @ Lyft 2018
Chester Chen
 
PDF
Introduction to apache kafka
Dimitris Kontokostas
 
PPTX
Beyond Microservices: Streams, State and Scalability
confluent
 
PDF
Kafka Connect and Streams (Concepts, Architecture, Features)
Kai Wähner
 
PDF
What is Apache Kafka®?
confluent
 
PDF
10 essentials steps for kafka streaming services
inovia
 
PDF
How to Build Streaming Apps with Confluent II
confluent
 
PDF
Crossing the Streams: Rethinking Stream Processing with Kafka Streams and KSQL
confluent
 
PDF
Introduction to apache kafka, confluent and why they matter
Paolo Castagna
 
PDF
Evolving from Messaging to Event Streaming
confluent
 
PDF
Building Event Driven Services with Kafka Streams
Ben Stopford
 
PDF
Patterns and anti patterns of streaming
Francesco Nobilia
 
PDF
Building Event Driven Services with Apache Kafka and Kafka Streams - Devoxx B...
Ben Stopford
 
Building a Streaming Platform with Kafka
confluent
 
Schema Registry 101 with Bill Bejeck | Kafka Summit London 2022
HostedbyConfluent
 
Apache Kafka as Event-Driven Open Source Streaming Platform (Prague Meetup)
Kai Wähner
 
Kafka Streams for Java enthusiasts
Slim Baltagi
 
Building streaming data applications using Kafka*[Connect + Core + Streams] b...
Data Con LA
 
Building Streaming Data Applications Using Apache Kafka
Slim Baltagi
 
Event-Driven Microservices: Back to the Basics
HostedbyConfluent
 
SF big Analytics : Stream all things by Gwen Shapira @ Lyft 2018
Chester Chen
 
Introduction to apache kafka
Dimitris Kontokostas
 
Beyond Microservices: Streams, State and Scalability
confluent
 
Kafka Connect and Streams (Concepts, Architecture, Features)
Kai Wähner
 
What is Apache Kafka®?
confluent
 
10 essentials steps for kafka streaming services
inovia
 
How to Build Streaming Apps with Confluent II
confluent
 
Crossing the Streams: Rethinking Stream Processing with Kafka Streams and KSQL
confluent
 
Introduction to apache kafka, confluent and why they matter
Paolo Castagna
 
Evolving from Messaging to Event Streaming
confluent
 
Building Event Driven Services with Kafka Streams
Ben Stopford
 
Patterns and anti patterns of streaming
Francesco Nobilia
 
Building Event Driven Services with Apache Kafka and Kafka Streams - Devoxx B...
Ben Stopford
 
Ad

More from HostedbyConfluent (20)

PDF
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
HostedbyConfluent
 
PDF
Renaming a Kafka Topic | Kafka Summit London
HostedbyConfluent
 
PDF
Evolution of NRT Data Ingestion Pipeline at Trendyol
HostedbyConfluent
 
PDF
Ensuring Kafka Service Resilience: A Dive into Health-Checking Techniques
HostedbyConfluent
 
PDF
Exactly-once Stream Processing with Arroyo and Kafka
HostedbyConfluent
 
PDF
Fish Plays Pokemon | Kafka Summit London
HostedbyConfluent
 
PDF
Tiered Storage 101 | Kafla Summit London
HostedbyConfluent
 
PDF
Building a Self-Service Stream Processing Portal: How And Why
HostedbyConfluent
 
PDF
From the Trenches: Improving Kafka Connect Source Connector Ingestion from 7 ...
HostedbyConfluent
 
PDF
Future with Zero Down-Time: End-to-end Resiliency with Chaos Engineering and ...
HostedbyConfluent
 
PDF
Navigating Private Network Connectivity Options for Kafka Clusters
HostedbyConfluent
 
PDF
Apache Flink: Building a Company-wide Self-service Streaming Data Platform
HostedbyConfluent
 
PDF
Explaining How Real-Time GenAI Works in a Noisy Pub
HostedbyConfluent
 
PDF
TL;DR Kafka Metrics | Kafka Summit London
HostedbyConfluent
 
PDF
A Window Into Your Kafka Streams Tasks | KSL
HostedbyConfluent
 
PDF
Mastering Kafka Producer Configs: A Guide to Optimizing Performance
HostedbyConfluent
 
PDF
Data Contracts Management: Schema Registry and Beyond
HostedbyConfluent
 
PDF
Code-First Approach: Crafting Efficient Flink Apps
HostedbyConfluent
 
PDF
Debezium vs. the World: An Overview of the CDC Ecosystem
HostedbyConfluent
 
PDF
Beyond Tiered Storage: Serverless Kafka with No Local Disks
HostedbyConfluent
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
HostedbyConfluent
 
Renaming a Kafka Topic | Kafka Summit London
HostedbyConfluent
 
Evolution of NRT Data Ingestion Pipeline at Trendyol
HostedbyConfluent
 
Ensuring Kafka Service Resilience: A Dive into Health-Checking Techniques
HostedbyConfluent
 
Exactly-once Stream Processing with Arroyo and Kafka
HostedbyConfluent
 
Fish Plays Pokemon | Kafka Summit London
HostedbyConfluent
 
Tiered Storage 101 | Kafla Summit London
HostedbyConfluent
 
Building a Self-Service Stream Processing Portal: How And Why
HostedbyConfluent
 
From the Trenches: Improving Kafka Connect Source Connector Ingestion from 7 ...
HostedbyConfluent
 
Future with Zero Down-Time: End-to-end Resiliency with Chaos Engineering and ...
HostedbyConfluent
 
Navigating Private Network Connectivity Options for Kafka Clusters
HostedbyConfluent
 
Apache Flink: Building a Company-wide Self-service Streaming Data Platform
HostedbyConfluent
 
Explaining How Real-Time GenAI Works in a Noisy Pub
HostedbyConfluent
 
TL;DR Kafka Metrics | Kafka Summit London
HostedbyConfluent
 
A Window Into Your Kafka Streams Tasks | KSL
HostedbyConfluent
 
Mastering Kafka Producer Configs: A Guide to Optimizing Performance
HostedbyConfluent
 
Data Contracts Management: Schema Registry and Beyond
HostedbyConfluent
 
Code-First Approach: Crafting Efficient Flink Apps
HostedbyConfluent
 
Debezium vs. the World: An Overview of the CDC Ecosystem
HostedbyConfluent
 
Beyond Tiered Storage: Serverless Kafka with No Local Disks
HostedbyConfluent
 
Ad

Recently uploaded (20)

PDF
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
PDF
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
 
PPTX
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
PDF
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
PPTX
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
 
PDF
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
PDF
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
PDF
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
 
PPTX
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
PDF
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 
PDF
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
PDF
The Growing Value and Application of FME & GenAI
Safe Software
 
PDF
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
PDF
Agentic AI for Developers and Data Scientists Build an AI Agent in 10 Lines o...
All Things Open
 
PDF
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
PDF
Mastering AI Workflows with FME by Mark Döring
Safe Software
 
PDF
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
PDF
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
PDF
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
 
PPTX
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
 
UserCon Belgium: Honey, VMware increased my bill
stijn40
 
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
 
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
 
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
The Growing Value and Application of FME & GenAI
Safe Software
 
Cracking the Code - Unveiling Synergies Between Open Source Security and AI.pdf
Priyanka Aash
 
Agentic AI for Developers and Data Scientists Build an AI Agent in 10 Lines o...
All Things Open
 
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
Mastering AI Workflows with FME by Mark Döring
Safe Software
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
 
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 

Managing multiple event types in a single topic with Schema Registry | Bill Bejeck, Confluent

Editor's Notes

  • #5: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #6: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #7: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #8: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #9: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #10: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #11: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #12: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #13: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #14: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #15: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #16: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #19: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #20: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #21: SubjectNameStrategy, it's basically a function of the form (topic-name, record-schema) -> subject-name. TopicNameStrategy ignores the record-schema, RecordNameStrategy ignores the topic-name, and TopicRecordNameStrategy uses both. By using TopicNameStrategy (ignoring the record-schema), it allows all records in the topic to be constrained by a single subject (as opposed to an indeterminate number of subjects with the other strategies)
  • #24: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #25: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #29: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #30: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #31: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #32: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #33: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #34: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #36: Kafka Streams has 2 APIs DSL and a Processor API This is the same streams application you saw earlier so we won’t go into too much detail about this program
  • #37: Kafka Streams has 2 APIs DSL and a Processor API This is the same streams application you saw earlier so we won’t go into too much detail about this program
  • #38: Kafka Streams has 2 APIs DSL and a Processor API This is the same streams application you saw earlier so we won’t go into too much detail about this program
  • #39: Kafka Streams has 2 APIs DSL and a Processor API This is the same streams application you saw earlier so we won’t go into too much detail about this program
  • #40: Kafka Streams has 2 APIs DSL and a Processor API This is the same streams application you saw earlier so we won’t go into too much detail about this program
  • #43: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.
  • #44: Kafka Streams has 2 APIs DSL and a Processor API This is the same streams application you saw earlier so we won’t go into too much detail about this program
  • #45: Discuss what a log is – a file where records are appended to the end of the file What does a distributed log mean What is a topic – a topic is a log with the topic name is the directory name and the file is the log with messages Discuss the offsets picture – Kafka assigns each incoming record with a number, offset, which is its ordinal position in the file.