I'm trying to figure out the right way to start my ktor server using
io.ktor.server.netty.EngineMain.main(args)
while also launching a coroutine that subscribes to a Kafka topic and continuously reads messages. I had thought the right way to do this would be something along the lines of