runtimeResource
The producer as a runtime resource: the runtime closes it, flushing the records it buffered, after its dispatchers stop and within the same shutdown deadline (me.ahoo.wow.runtime.RuntimeResources). Closing is idempotent, so a later close returns at once. The Kafka client cannot cancel a running close: on force stop the runtime stops waiting for it.