fix(workbench): show and accelerate Kafka replay
This commit is contained in:
@@ -170,7 +170,10 @@ function nativeKafkaRefreshEventStream(bridge: any, sessionId: string, traceId:
|
||||
completionReason: result?.completionReason ?? null,
|
||||
complete: result?.completion?.complete === true,
|
||||
scannedCount: result?.scannedCount ?? null,
|
||||
parsedCount: result?.parsedCount ?? null,
|
||||
matchedCount: result?.matchedCount ?? null,
|
||||
filterRejectedCount: result?.filterRejectedCount ?? null,
|
||||
keyRejectedCount: result?.keyRejectedCount ?? null,
|
||||
partitionKeyScoped: result?.partitionKeyScoped === true,
|
||||
targetPartition: result?.targetPartition ?? null,
|
||||
timing: result?.timing ?? null,
|
||||
|
||||
@@ -185,7 +185,10 @@ describe("Workbench native HTTP adapter", () => {
|
||||
endOffsetsAvailable: true,
|
||||
endOffsets: [{ partition: 0, startOffset: "0", endOffset: "100" }],
|
||||
scannedCount: 100,
|
||||
parsedCount: 100,
|
||||
matchedCount: 100,
|
||||
filterRejectedCount: 0,
|
||||
keyRejectedCount: 0,
|
||||
partitionKeyScoped: true,
|
||||
targetPartition: 0,
|
||||
timing: { endOffsetSnapshotMs: 2, groupOffsetsMs: 0, consumerConnectMs: 3, consumerSubscribeMs: 1, scanMs: 7, cleanupMs: 1, totalMs: 14 }
|
||||
@@ -222,7 +225,10 @@ describe("Workbench native HTTP adapter", () => {
|
||||
query: {
|
||||
complete: true,
|
||||
scannedCount: 100,
|
||||
parsedCount: 100,
|
||||
matchedCount: 100,
|
||||
filterRejectedCount: 0,
|
||||
keyRejectedCount: 0,
|
||||
partitionKeyScoped: true,
|
||||
targetPartition: 0,
|
||||
timing: { scanMs: 7, totalMs: 14 }
|
||||
|
||||
Reference in New Issue
Block a user