Skip to content
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

Event-loop blocked when using http component starting from knative #383

Closed
nicolaferraro opened this issue Jul 8, 2020 · 0 comments · Fixed by #380
Closed

Event-loop blocked when using http component starting from knative #383

nicolaferraro opened this issue Jul 8, 2020 · 0 comments · Fixed by #380
Assignees
Milestone

Comments

@nicolaferraro
Copy link
Member

I've the following route:

    from("knative:event/market.btc.usdt")
        .removeHeaders("Camel*")
        .to("http://quarkus-ml.{{env:NAMESPACE}}.svc.cluster.local/samples")
        .setBody().constant("");

If the target http service is down (e.g. scaled down by knative), it takes some seconds to have it running again, so the http call waits but blocks the event-loop:

Jul 08, 2020 1:56:53 PM io.vertx.core.impl.BlockedThreadChecker
WARNING: Thread Thread[vert.x-eventloop-thread-0,5,main]=Thread[vert.x-eventloop-thread-0,5,main] has been blocked for 2781 ms, time limit is 2000 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants