You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/09/01 10:15:42 UTC

[GitHub] [camel-k] nicolaferraro commented on issue #1676: kamelets: source/sink binding

nicolaferraro commented on issue #1676:
URL: https://github.com/apache/camel-k/issues/1676#issuecomment-684726744


   A better format:
   
   ```yaml
   apiVersion: camel.apache.org/v1alpha1
   kind: KameletBinding
   metadata:
     name: twitter-directmessage-source
   spec:
     source:
       ref:
         apiVersion: camel.apache.org/v1alpha1
         kind: Kamelet
         name: twitter-directmessage
       properties:
         key: value
         user: my-user
         password: just-provide-it-in-plain-text-for-now
     sink:
       ref:
         apiVersion: messaging.knative.dev/v1alpha1
         kind: InMemoryChannel
         name: twitter
   ```
   
   They can be optionally used also in the `sink` part.
   
   This removes the ambiguity about what endpoint the properties refer to.
   Wdyt @lburgazzoli ?
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org