Catalogue / wix-2022-kafka-troubleshooting

Wix's Data streams team builds tracing, lag views and offset controls so service developers can fix Kafka issues themselves

Wix, 2022. Troubleshooting tooling for the Kafka event streaming layer (Greyhound and the Kafka control plane).

Organisation
Wix
Evidence
Reported from production
Source
Troubleshooting Kafka for 2000 Microservices at Wix

Wix Engineering (Medium), published 2022-12-09

Records

Decision#d1

Carry the original requestId in Kafka record headers through every service

Decision#d2

Build an in-house Kafka control plane with an event stream view

Decision#d3

Alert on sustained consumer lag and expose the longest running handler and per-partition lag

Decision#d4

Let developers ask Greyhound to skip or replay events by resetting consumer group offsets

Failure#f1

Author's example: a low-cardinality Kafka event key sent many events to one partition on Black Friday 2021

Decision#d5

Prototype redistributing a single partition's backlog across all partitions despite the risk of reordering

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.