-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Knative route from AWS S3 endpoint immediatly stops after starting #919
Comments
Hi @lubuxnl , camel k version that is compatible with Knative 0.7.1 is v 1.0.0-M1. Can you try with that? Also it does not matter how you call the knative listener service, if it doesn't work, can you try to replace: from("knative:endpoint/s3filelogger") With: from("knative:endpoint/default") |
Thanks for your feedback @nicolaferraro As you suggested I upgraded my camel-k installation to v1.0.0-M1 and tried to run the example again. This time however the route didn't even start, because a class (org.apache.camel.processor.idempotent.MemoryIdempotentRepository) couldn't be found (see attached logfile). Really strange, because the Camel jars seem to be in the classpath. Any ideas what is causing this error? In the meanwhile I will go back to the previous camel-k version and try changing the name of the endpoint. |
Probably because v1.0.0-M1 uses camel 3 by default. You should reinstall deleting the platform configuration:
|
looks like the tutorial need to be updated to reflect the changes in camel 3.x as MemoryIdempotentRepository has been moved to a different package |
Thanks for your tips @nicolaferraro and @lburgazzoli After updating the package of the MemoryIdempotentRepository class the knative route starts fine :-) |
In order to do the Red Hat Knative tutorial I created a Vagrant box with Virtualbox on Windows 10 Pro. In the VM I'm running Minikube v1.3.1 with the none driver and with this setup I was able to do the exercises with Knative serving and eventing v0.7.1. To do the exercises with Camel-K I installed camel-k v0.3.4 and ran several of the examples from the camel-k git repo successfully, including the Knative examples. When running the first example from the Knative tutorial however, I noticed the route starts successfully, but then immediately stops. After stopping the log shows an UnresolvedAddressException (see attached logfile). I found a similar issue (#506) in this repo, but that issue was apparently fixed in camel-k-runtime 0.3.1, while camel-k v0.3.4 uses version 0.3.3 of camel-k-runtime. Any ideas how to fix this?
The text was updated successfully, but these errors were encountered: