Lease
class Lease @InternalWowApi constructor(val group: String, val partition: Int, val owner: String, val epoch: Long, val expiresAt: Long)
owner holds partition for subscription group group until expiresAt (epoch milliseconds, exclusive).
epoch counts the acquisitions of the partition: each time it changes hands, or its owner takes it back after it expired or was released, the epoch is one more. Wow does not fence on it; it shows handovers in metrics and tests.
Fields may be added: construct one with of; the constructor is internal to Wow.