camel-k icon indicating copy to clipboard operation
camel-k copied to clipboard

Support new Camel 3 webhooks

Open nicolaferraro opened this issue 5 years ago • 3 comments

Camel part: https://issues.apache.org/jira/browse/CAMEL-13401

From the issue:

In Camel K mode, automatic registration is disabled by default, because the deployment can be scale up/down (especially in Knative mode, where this happens automatically):

  • Camel K will setup a webhook subscription resource that takes care of externally registering/deregistering the webhook when the integration is created/edited/deleted (will use the webhook component API for this)

With this meta-component, in Camel K + Knative mode, we can create integrations from telegram, slack, github, twitter, dropbox, .... that can scale down to 0 when not used.

We should figure out what's the best strategy, but at high level Camel K should define a new custom resource e.g. WebhookRegistration that will create a pod with the role of configuring the routes as in the main integration but not starting them: routes will be used to register/deregister all webhooks. Deregistration will be triggered by a finalizer in the WebhookRegistration resource.

nicolaferraro avatar Apr 09 '19 08:04 nicolaferraro

This issue has been automatically marked as stale due to 90 days of inactivity. It will be closed if no further activity occurs within 15 days. If you think that’s incorrect or the issue should never stale, please simply write any comment. Thanks for your contributions!

github-actions[bot] avatar Aug 27 '22 00:08 github-actions[bot]

@christophd @claudio4j do you think this is still relevant?

squakez avatar Aug 29 '22 14:08 squakez

I have not used this camel-webhook before, but it is an interesting idea. From camel side, only telegram component is able to have the webhook configured. From camel-k perspective I think this is relevant, because it adds the async behavior to integrations.

claudio4j avatar Aug 29 '22 16:08 claudio4j

Stale. Please, reopen if relevant again.

squakez avatar Apr 18 '24 15:04 squakez