DEV Community

Discussion on: Kotlin coroutine based KafkaProducer extension

Collapse
 
gklijs profile image
Gerard Klijs

Consumer is not thread safe, so I don't see how, unless you can 'force' a coroutine to always run on the same underlying thread. But that would kind of defeat the purpose for coroutines.