Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20403

Support Knative broker as source/sink in Pipe

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.3.0
    • 4.4.0
    • camel-jbang, camel-yaml-dsl
    • None
    • Unknown

    Description

      Pipes may reference a Knative broker as a source/sink. We should properly configure the Knative component endpoint URI (knative:event/my-event-type?kind=Broker&name=default) on the resulting route definition when the Pipe uses a Knative broker reference

      Example Pipe:

      apiVersion: camel.apache.org/v1
      kind: Pipe
      metadata:
        name: timer-event-source                  
      spec:
        source:
          ref:
            kind: Kamelet
            apiVersion: camel.apache.org/v1
            name: timer-source
          properties:
            message: "Hello world!"
        sink:
          ref:
            kind: Broker
            apiVersion: eventing.knative.dev/v1
            name: foo-broker
          properties:
            type: org.apache.camel.event.foo

       

      Attachments

        Issue Links

          Activity

            People

              christophd Christoph Deppisch
              christophd Christoph Deppisch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: