Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
The Importance of Observability for Kafka-based...
Search
Jorge Quilcate
September 10, 2018
Programming
2.3k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The Importance of Observability for Kafka-based applications with Zipkin
https://github.com/jeqo/talk-kafka-zipkin
Jorge Quilcate
September 10, 2018
More Decks by Jorge Quilcate
See All by Jorge Quilcate
Making sense of Event-Driven Systems
jeqo
0
230
Making sense of event-driven dataflows - Kafka Summit NYC 2019
jeqo
0
700
distributed tracing and observability for your integration platform - OUGN 2018
jeqo
0
140
Reactive Patterns and Distributed Systems - OUGN 2018
jeqo
0
150
Increasing Observability with Distributed Tracing
jeqo
0
330
Observando Sistemas Distribuidos - PeruJUG
jeqo
1
490
From Messaging to Logs with Apache Kafka - OUGN17
jeqo
0
480
Scale WebLogic, the Kubernetes way - OUGN17
jeqo
1
830
De Mensajería hacia Logs con Apache Kafka - PeruJUG
jeqo
1
450
Other Decks in Programming
See All in Programming
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
480
バグを直したら useEffect が消えた
colorful12
3
780
VibeCodingからAgenticWorkflowへ
starfish719
0
1.1k
MySQLとPostgreSQLって何が違うの?
akagami
0
150
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
110
Go を使い始めて 2 ヶ月の学び / My first two months with Go
contour_gara
0
400
プロポーザルを書いてもらう
pvcresin
0
590
異なる設計思想のフレームワークを経験して得た学び
amekuhideki
2
1.4k
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
130
Deep dive into the select statement (GopherCon UK)
jespino
0
160
go-spidermonkeyでAIエージェントのCode Modeを実装する
syumai
3
1.4k
Oxlintはいいぞ(続)
yug1224
1
510
Featured
See All Featured
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
490
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
460
So, you think you're a good person
axbom
PRO
2
2.1k
Bash Introduction
62gerente
615
220k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
220
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
260
Believing is Seeing
oripsolob
1
200
Designing Experiences People Love
moore
143
24k
Transcript
The Importance of Observability for Kafka-based applications with Zipkin
[email protected]
Jorge Quilcate-Otoya @jeqo89 github.com/jeqo github.com/sysco-middleware Middleware team at SYSCO AS
focused on Data-Integration and Distributed Tracing
SYSCO AS Middleware department: Integration and Data Engineering We are
hiring! Partners: github.com/sysco-middleware sysco.no/
Agenda Event-Driven Applications and Kafka Observability and Distributed Tracing Simulating
Observability tools
Apache Kafka “Apache Kafka® is a distributed Streaming platform.”
Event-Driven Applications and Kafka Amazonas river
Event-Driven Architectural Style https://docs.microsoft.com/en-us/azure/architecture/guide/architecture-styles/event-driven
Service Collaboration and Dataflow Svc Svc Svc Svc Orchestration Event
Bus Svc Svc Svc Svc Choreography
https://www.slideshare.net/ConfluentInc/etl-is-dead-long-live-streams Kafka Ecosystem
Observability and Distributed Tracing Titicaca Lake
What is Observability? “In control theory, observability is a measure
of how well internal states of a system can be inferred from knowledge of its external outputs.” - Wikipedia
Observability is for *Unknown Unknowns* https://twitter.com/mipsytipsy/status/963956028940234752
Observability methods
Observability methods
Span = execution of a task Trace = tree of
spans Context Propagation = pass trace context between distributed components (e.g. HTTP Headers, Kafka-record Headers) Distributed Tracing Concepts
Demo Lab 01: Hello world to Distributed Tracing • Tracing
concepts • Brave instrumentation https://github.com/jeqo/talk-kafka-zipkin#lab-1-hello-world-distributed-tracing
Adoption approaches Annotation-based - Part of your code - Instrument
libraries first - Add custom spans on-demand - Check benchmarks Black-box
How does it work? Svc 0 Svc 1 tracer tracer
Collector Tracing System Tracing DB
Zipkin Architecture
Demo Lab 02: Tracing Kafka-based applications • Kafka-clients and Kafka-streams
instrumentation • Kafka Interceptors for Kafka Connectors https://github.com/jeqo/talk-kafka-zipkin#lab-02-twitter-kafka-based-application
Adoption approaches Annotation-based - Part of your code - Instrument
libraries first - Add custom spans on-demand - Check benchmarks Black-box - Agent-based model - Framework/Protocol support - Machine impact - Promising approach: Service Mesh/Sidecar Proxy
Service Meshes and Zipkin
#QOTD https://twitter.com/rakyll/status/971231712049971200
Simulating Observability tools Lima - Chorrillos
➔ Model your architecture ➔ Simulate interaction ➔ Generate Traces
➔ Visualize your system’s traffic with Vizceral “SimianViz/ Spigo” - Simulation Protocol Interaction in GO github.com/adrianco/spigo
"Monitoring Microservices: A Challenge" - Adrian Cockcroft
Models from Traces, e.g. Vizceral https://www.youtube.com/watch?v=jWpI8qzqNHk
Demo Lab 03: Spigo and Vizceral • Spigo for Simulation
of Architecture behavior • Zipkin for Tracing and Vizceral for Traffic Monitoring https://github.com/jeqo/talk-kafka-zipkin#lab-3-spigo-simulation
Takeaways ➔ If are doing Distributed Systems — using Kafka
or not — consider Distributed Tracing. ➔ Instrument libraries first, not your code. ➔ Experiment by simulating your deployment. ➔ How many models can you build from tracing data?!
References Papers - Dapper: https://static.googleusercontent.com/media/research.google.com /en//pubs/archive/36356.pdf - Canopy: http://cs.brown.edu/~jcmace/papers/kaldor2017canopy.pdf -
Automating Failure Testing Research at Internet Scale: https://people.ucsc.edu/~palvaro/socc16.pdf Posts: - Logging v. Instrumentation https://peter.bourgon.org/blog/2016/02/07/logging-v-instrument ation.html - Monitoring and Observability https://medium.com/@copyconstruct/monitoring-and-observability -8417d1952e1c - Monitoring in the Time of Cloud Native https://medium.com/@copyconstruct/monitoring-in-the-time-of-cl oud-native-c87c7a5bfa3e Tools: - Zipkin: https://zipkin.io/ - Brave: https://github.com/openzipkin/brave - Kafka Interceptors: https://github.com/sysco-middleware/kafka-interceptors - Spigo: https://github.com/adrianco/spigo - Vizceral: https://github.com/Netflix/vizceral
Thanks! Q&A github.com/jeqo/talk-kafka-zipkin github.com/sysco-middleware Machu Picchu