Is there any difference between `embeddedServer` a...
# ktor
v
Is there any difference between
embeddedServer
and
DevelopmentEngine
, other than how they're configured and started?
d
DevelopmentEngine is just a main you don’t have to provide since it is included, that already loads hocon and stuff. Other than that, it is a plain server using an ApplicationEngine
v
So it's not really more "development" than
embeddedServer
. Got it.
According to https://ktor.io/servers/deploy.html#fat-jar, either of these would be the recommended solution for running a production instance of ktor in a container? The
Development
bit may be misleading.
d
Yeah, agree, it might sound a bit misleading
v
More than a bit misleading, consider this a bug report 🙂
d
I would create an issue here: https://github.com/ktorio/ktor/issues Ideally proposing a better name too 🙂
👍 2