tadayosi commented on issue #1244:
URL: 
https://github.com/apache/camel-kamelets/issues/1244#issuecomment-1397978465

   @oscerd What do you think about this feature request?
   
   One difficulty with implementing such a feature is that there are multiple 
endpoints in a single Kamelet, so we need to devise a good notation to specify 
which internal endpoints to apply the passed parameters.
   
   So for example in a KameletBinding with `kafka-source` (notice `extensions`):
   
   ```yaml
   apiVersion: camel.apache.org/v1alpha1
   kind: KameletBinding
   metadata:
     name: kafka-source-binding
   spec:
     source:
       ref:
         kind: Kamelet
         apiVersion: camel.apache.org/v1alpha1
         name: kafka-source
       properties:
         bootstrapServers: "The Bootstrap Servers"
         password: "The Password"
         topic: "The Topic Names"
         user: "The Username"
       extensions:
         from:
           endpointOptions: "groupId=my-consumergroup&consumsersCount=4"
         step.1:
           endpointOptions: "..."
         step.2:
           endpointOptions: "..."
     sink:
       ref:
         kind: KafkaTopic
         apiVersion: kafka.strimzi.io/v1beta1
         name: my-topic
   ```


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

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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

Reply via email to