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/23 13:32:17 UTC

[GitHub] [camel-k] MaciekLeks commented on issue #1636: No matches for kind "Subscription" in version "messaging.knative.dev/v1alpha1"

MaciekLeks commented on issue #1636:
URL: https://github.com/apache/camel-k/issues/1636#issuecomment-697366452


   @nicolaferraro Thanks for the update, but in case of Kafka channel it would not work correctly for v1beta1. `kamel run <integration>` creates subscription like this:
   ```yaml
   channel:
       apiVersion: messaging.knative.dev/v1alpha1
       kind: KafkaChannel
       name: salesforce
     subscriber:
       ref:
         apiVersion: serving.knative.dev/v1
         kind: Service
         name: camel-k-kafa-consumer
   ```
   So the channel must be declared for v1alpha1, like so:
   
   ```yaml
   apiVersion: messaging.knative.dev/v1alpha1
   kind: KafkaChannel
   metadata:
     name: salesforce
   ```
   
   
   
   I've not checked out what about InMemoryChannel but I may assume it's the same.


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