Hands On Kafka
StreamSocial - a global social media analytics and engagement platform designed to handle 50M requests. This system will process user interactions, generate real-time trends, personalized feeds, and analytics across multiple services.
- Indexed issues, all indexed history
- 61
- Latest indexed publication
- Nov 7, 2026
- Audience
- Checking…
- Earliest indexed
- Mar 15, 2026
Latest issues
Counts describe indexed work. Gaps may reflect missing collection, not a break in publishing.
Lesson 74: STOMP Messaging (opens the original)
Read excerpt
Context Lesson 73 built the transport: a hand-rolled RFC 6455 WebSocket server, one virtual thread per connection, with a single ad hoc text protocol — the server echoed whatever the client sent and pushed a fixed match-tick string to every connected client on a timer. That worked for exactly one implicit “channel” per connection. This lesson replaces that ad hoc string protocol with STOMP frames carried inside Lesson 73’s WebSocket text frames — the same WebSocketFraming.encodeTextFrame()/decod…
Day 26: Schema Definition with JSON Schema (opens the original)
Read excerpt
What we’ll build today A formal, language-agnostic schema catalog — genuinely different from the validation already in this codebase A subtle, easy-to-get-wrong detail about what “required” actually means when a field can be null Real documentation debt, found and partly addressed along the way <a class="image-link image2 is-viewable-img" href="https://substackcdn.com/image/fetch/$s_!49zj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic…
Kafka Has Queues Now. Here's When to Use Them (opens the original)
Read excerpt
For years, "can Kafka be a job queue?" had the same answer: sort of, if you don't mind fighting it. A topic with 12 partitions could have at most 12 active consumers in a group. A slow message held up every message behind it in that partition. And there was no clean way to say "this one failed, give it to someone else." Share groups change that. They came from KIP-932, and Kafka 4.2 declared them production-ready in February 2026. Below is how they actually differ from consumer groups, and how t…
Lesson 73: WebSocket Protocol (opens the original)
Read excerpt
Context Module 5 ended with a fully validated Interactive Query path: a rider’s client could ask “where are all the drivers?” and get an honest, partial/stale-flagged answer back across a real multi-instance cluster (Lesson 72). Every one of those lessons assumed the client asks and the server answers — a request/response model. Module 6 changes that assumption: once a match is found, the server needs to tell the rider immediately, not wait for the rider’s next poll. This lesson builds the trans…
Day 25: Error Handling & Poison Pills (opens the original)
Read excerpt
What we’ll build today A precise distinction: every “poison” this codebase has handled so far isn’t the poison this term usually means ErrorHandlingDeserializer, converting a dangerous failure mode into one the existing machinery already handles DeadLetterPublishingRecoverer, composed alongside Day 5’s RecoveryTracker, not instead of it <a class="image-link image2 is-viewable-img" href="https://substackcdn.com/image/fetch/$s_!ALHS!,f_auto,q_au…
Recurring subjects
Named in the text we hold. One piece can cover several.
Audience
No verified audience measurement yet.
About this data
Counts cover the work we have indexed. Tone needs enough text and a confident classification. Excerpts and episode notes are not full articles or transcripts.
Found dates come from discovery metadata when the publisher’s publication date is not recorded. Recorded dates have an unconfirmed origin.
Identity or attribution wrong? Suggest a correction.
Own this channel? Claim this page, or Ask us to remove or change it. Copyright and removal requests.