squakez opened a new issue, #5145:
URL: https://github.com/apache/camel-k/issues/5145
### What happened?
I am not sure if this is some regression that has slipped in in the past or
it was how the original feature was designed. The fact is that I noticed that
when we have the Knative resource installed, any Integration (even a simple one
which does not require any Knative stuff) add all the integrations and related
server is started. See this timer-2-log:
```
[1] 2024-02-07 13:30:33,706 INFO [org.apa.cam.k.Runtime] (main) Apache
Camel K Runtime 3.2.3
[1] 2024-02-07 13:30:33,709 INFO
[org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) Bootstrap runtime:
org.apache.camel.quarkus.main.CamelMainRuntime
[1] 2024-02-07 13:30:33,711 INFO [org.apa.cam.mai.MainSupport] (main)
Apache Camel (Main) 4.0.2 is starting
[1] 2024-02-07 13:30:33,746 INFO [org.apa.cam.k.sup.SourcesSupport] (main)
Loading routes from: SourceDefinition{name='camel-k-embedded-flow',
language='yaml', type='source',
location='file:/etc/camel/sources/camel-k-embedded-flow.yaml', }
[1] 2024-02-07 13:30:33,947 INFO [org.apa.cam.imp.eng.AbstractCamelContext]
(main) Apache Camel 4.0.2 (camel-1) is starting
[1] 2024-02-07 13:30:33,958 INFO [org.apa.cam.imp.eng.AbstractCamelContext]
(main) Routes startup (started:1)
[1] 2024-02-07 13:30:33,958 INFO [org.apa.cam.imp.eng.AbstractCamelContext]
(main) Started route1 (timer://yaml)
[1] 2024-02-07 13:30:33,959 INFO [org.apa.cam.imp.eng.AbstractCamelContext]
(main) Apache Camel 4.0.2 (camel-1) started in 11ms (build:0ms init:0ms
start:11ms)
[1] 2024-02-07 13:30:34,066 INFO [io.quarkus] (main) camel-k-integration
2.2.0 on JVM (powered by Quarkus 3.2.9.Final) started in 1.806s. Listening on:
http://0.0.0.0:8080
[1] 2024-02-07 13:30:34,067 INFO [io.quarkus] (main) Profile prod
activated.
[1] 2024-02-07 13:30:34,067 INFO [io.quarkus] (main) Installed features:
[camel-bean, camel-cloudevents, camel-core, camel-k-core, camel-k-runtime,
camel-knative, camel-kubernetes, camel-timer, camel-yaml-dsl, cdi,
kubernetes-client, smallrye-context-propagation, vertx]
```
The Integration dependency has really all the knative profile dependencies:
```
dependencies:
- camel:core
- camel:timer
- mvn:org.apache.camel.k:camel-k-knative-impl
- mvn:org.apache.camel.k:camel-k-runtime
- mvn:org.apache.camel.quarkus:camel-quarkus-knative
- mvn:org.apache.camel.quarkus:camel-quarkus-yaml-dsl
```
I have the feeling this is not correct unless any Knative feature is really
used by the route.
### Steps to reproduce
_No response_
### Relevant log output
_No response_
### Camel K version
_No response_
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]