summary

fun summary(samples: List<PublishedStream.Sample>, startedAt: Long, stoppedAt: Long, drainedAt: Long): Map<String, Any?>

The run's figures from samples, against the measured phase from startedAt to stoppedAt:

  • series: from the last round at or before the phase's start to the first at or after its end, each partition's entries appended and published a second (the head's and the checkpoint's growth) and, at each round, its lag in entries (head less checkpoint) and in seconds (the oldest commit above the checkpoint); t is the round's second in the phase;

  • appendedPerSecond and publishedPerSecond over that span, all partitions together, and the busiestPartition's (the most appended): one aggregate's when a run loads one;

  • maxLag, the worst partition's lag in entries, and maxLagSeconds, the oldest commit waiting, with its partition and aggregate: the worst aggregate's lag;

  • catchUpSeconds: from the phase's end to caughtUpAt, null when the stream had not caught up when the reads stopped, lagAtEnd then saying how many entries were still above the checkpoints;

  • checkpointed: whether the sink saved any checkpoint; without one every lag is the head.