Interface FunqyKnativeEventsConfig.FunctionMapping

Enclosing interface:
FunqyKnativeEventsConfig

public static interface FunqyKnativeEventsConfig.FunctionMapping
  • Method Summary

    Modifier and Type
    Method
    Description
    If function has response output, then what is the Cloud Event source (ce-source)? This will default to the function name
    If function has response output, then what is the Cloud Event type (ce-type)? This will default to {function}.output
    Cloud Event type (ce-type) that triggers this function.
  • Method Details

    • trigger

      Optional<String> trigger()
      Cloud Event type (ce-type) that triggers this function. Default value is function name. This config item is only required when there is more than one function defined within the deployment. The ce-type is not looked at if there is only one function in the deployment. The message will just be dispatched to that function. This allows you to change the knative trigger binding without having to change the configuration of the quarkus deployment.
    • responseType

      Optional<String> responseType()
      If function has response output, then what is the Cloud Event type (ce-type)? This will default to {function}.output
    • responseSource

      Optional<String> responseSource()
      If function has response output, then what is the Cloud Event source (ce-source)? This will default to the function name