Class FunqyKnativeEventsConfig.FunctionMapping
- java.lang.Object
-
- io.quarkus.funqy.runtime.bindings.knative.events.FunqyKnativeEventsConfig.FunctionMapping
-
- Enclosing class:
- FunqyKnativeEventsConfig
public static class FunqyKnativeEventsConfig.FunctionMapping extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<String>responseSourceIf function has response output, then what is the Cloud Event source (ce-source)? This will default to the function nameOptional<String>responseTypeIf function has response output, then what is the Cloud Event type (ce-type)? This will default to {function}.outputOptional<String>triggerCloud Event type (ce-type) that triggers this function.
-
Constructor Summary
Constructors Constructor Description FunctionMapping()
-
-
-
Field Detail
-
trigger
@ConfigItem public 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
@ConfigItem public Optional<String> responseType
If function has response output, then what is the Cloud Event type (ce-type)? This will default to {function}.output
-
-