Éilíonn feidhmiú Kafka monatóireacht ar phríomhthréithe — go háirithe lag tomhaltóir (cé chomh fada atá tomhaltóirí i ndiaidh a chéile) — chomh maith le sláinte bhróicéara, tréchur, agus stádas deighilte. Tá sé tábhachtach tuiscint ar mhonatóireacht agus lag tomhaltóir chun Kafka a rith go hiontaofa.
Lag tomhaltóir (príomhthréith)
CONSUMER LAG → how far BEHIND a consumer is = (latest offset) − (consumer's committed offset):
→ high/growing lag → the consumer can't keep up with the production rate (a problem!)
→ indicates: slow processing, too few consumers, a stuck/failed consumer, or a traffic spike
→ monitor lag → detect when consumers fall behind (a primary Kafka health signal)
