RuntimeResource
interface RuntimeResource
A storage or transport resource that holds accepted work: a batch writer's pending windows, a broker producer's buffered records. The runtime flushes it after every component has stopped, within the same shutdown deadline (RuntimeResources), so the work the dispatchers accepted is written before the process exits.