createProducer

suspend fun createProducer(producerType: ProducerType, producerOptions: HiveProducerOptions, onDisconnect: () -> Unit)