mertdotcc commented on issue #4192: URL: https://github.com/apache/camel-k/issues/4192#issuecomment-1520208074
Apart from the default base image eclipse:temurin that comes with version 1.12.0, I also tried the same flow with openjdk:slim but the startup times don't seem to show any improvements... Is this related to the version or any underlying dependencies that come with it? Running version 1.10.2 in an old cluster where the startup times are actually sub 2 seconds, but with version 1.12.0, I can't seem to get those advertised startup times... ``` 2023-04-24 12:51:46,653 INFO [org.apa.cam.k.Runtime] (main) Apache Camel K Runtime 1.17.0 2023-04-24 12:51:46,951 INFO [org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) Bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime 2023-04-24 12:51:46,957 INFO [org.apa.cam.mai.MainSupport] (main) Apache Camel (Main) 3.20.1 is starting 2023-04-24 12:51:47,551 INFO [org.apa.cam.k.lis.SourcesConfigurer] (main) Loading routes from: SourceDefinition{name='Integration', language='java', type='source', location='file:/etc/camel/sources/Integration.java', } 2023-04-24 12:52:00,350 INFO [org.apa.cam.k.lis.SourcesConfigurer] (main) Loading routes from: SourceDefinition{name='integration-openapi', language='xml', type='source', location='file:/etc/camel/sources/integration-openapi.xml', } 2023-04-24 12:52:04,950 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.20.1 (camel-1) is starting 2023-04-24 12:52:05,151 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Routes startup (started:4) 2023-04-24 12:52:05,153 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started getById (direct://getById) 2023-04-24 12:52:05,154 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started create (direct://create) 2023-04-24 12:52:05,157 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route1 (rest://get:/integration/abc/%Id%7D) 2023-04-24 12:52:05,158 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Started route2 (rest://post:/integration/abc) 2023-04-24 12:52:05,163 INFO [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.20.1 (camel-1) started in 1s807ms (build:0ms init:1s597ms start:210ms) 2023-04-24 12:52:06,358 INFO [io.quarkus] (main) camel-k-integration 1.12.0 on JVM (powered by Quarkus 2.16.0.Final) started in 39.303s. Listening on: http://0.0.0.0:8080 2023-04-24 12:52:06,447 INFO [io.quarkus] (main) Profile prod activated. 2023-04-24 12:52:06,448 INFO [io.quarkus] (main) Installed features: [camel-attachments, camel-bean, camel-core, camel-direct, camel-java-joor-dsl, camel-k-core, camel-k-runtime, camel-kubernetes, camel-microprofile-health, camel-platform-http, camel-rest, camel-xml-io-dsl, cdi, kubernetes-client, security, smallrye-context-propagation, smallrye-health, vertex] ``` `Apache Camel 3.20.1 (camel-1) started in 1s807ms (build:0ms init:1s597ms start:210ms)` and `camel-k-integration 1.12.0 on JVM (powered by Quarkus 2.16.0.Final) started in 39.303s` are contradicting with each other. Any help is appreciated as we can't run any complex logic in production with startup times this slow. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org