This commit is contained in:
chrislu
2025-09-12 13:22:16 -07:00
parent 6c19e548d3
commit 35e1239cbf
+1 -1
View File
@@ -67,7 +67,7 @@ func (h *Handler) handleFetch(correlationID uint32, apiVersion uint16, requestBo
// Get ledger for this topic-partition to determine high water mark
ledger := h.GetOrCreateLedger(topic.Name, partition.PartitionID)
highWaterMark := ledger.GetHighWaterMark()
fmt.Printf("DEBUG: Fetch - topic: %s, partition: %d, fetchOffset: %d, highWaterMark: %d\n",
topic.Name, partition.PartitionID, partition.FetchOffset, highWaterMark)