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/04 12:48:17 UTC

[GitHub] [camel-k] nicolaferraro opened a new issue #1686: Add support for Strimzi Topics in KameletBinding

nicolaferraro opened a new issue #1686:
URL: https://github.com/apache/camel-k/issues/1686


   PR #1602 introduces KameletBinding, which is a mechanism to bind a Kamelet to a source/sink and works currently with explicit URIs and Knative endpoints.
   
   It would be really cool if also other kind of enpoint could be decoded from Kubernetes object references, such as Strimzi Topics.
   
   The following binding may be used to send data from twitter to a Kafka topic:
   
   ```yaml
   apiVersion: camel.apache.org/v1alpha1
   kind: KameletBinding
   metadata:
     name: twitter-stream-binding
   spec:
     properties:
       keyword: Camel K
       secret: ...
     source:
       ref:
         apiVersion: camel.apache.org/v1alpha1
         kind: Kamelet
         name: twitter-stream
     sink:
       ref:
         apiVersion: kafka.strimzi.io/v1beta1
         kind: KafkaTopic
         name: tweets
   ```
   
   


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



[GitHub] [camel-k] nicolaferraro commented on issue #1686: Add support for Strimzi Topics in KameletBinding

Posted by GitBox <gi...@apache.org>.
nicolaferraro commented on issue #1686:
URL: https://github.com/apache/camel-k/issues/1686#issuecomment-687177002


   > What I don't yet see is where the integration logic (DSL) goes. This is just the binding, and I assume it will tacked onto a Kamelt? Is there docs to learn about more about this comes together at the end?
   
   Yes, the "twitter-stream" Kamelet will contain the code that allow getting the tweets (or any other data, from SaaS or enterprise services) into a generic sink. The sink here is strimzi, but the same Kamelet can also sink into a Knative channel by creating another binding.
   
   I'm currently writing a "Kamelets" section for the Camel K documentation where I explain the mechanism.
   


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



[GitHub] [camel-k] nicolaferraro closed issue #1686: Add support for Strimzi Topics in KameletBinding

Posted by GitBox <gi...@apache.org>.
nicolaferraro closed issue #1686:
URL: https://github.com/apache/camel-k/issues/1686


   


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



[GitHub] [camel-k] heiko-braun edited a comment on issue #1686: Add support for Strimzi Topics in KameletBinding

Posted by GitBox <gi...@apache.org>.
heiko-braun edited a comment on issue #1686:
URL: https://github.com/apache/camel-k/issues/1686#issuecomment-687166862


   What I don't yet see is where the integration logic (DSL) goes. This is just the binding, and I assume it will tacked onto a Kamelt? Is there docs to learn about more about this comes together at the end?


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



[GitHub] [camel-k] heiko-braun commented on issue #1686: Add support for Strimzi Topics in KameletBinding

Posted by GitBox <gi...@apache.org>.
heiko-braun commented on issue #1686:
URL: https://github.com/apache/camel-k/issues/1686#issuecomment-687166862


   What I don't yet see is where the integration logic (DSL) goes. This is just the binding, and I assume it will tacked on a Kamelt? Is there docs to learn about more about this comes together at the end?


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