mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
23 lines
858 B
Plaintext
23 lines
858 B
Plaintext
:_content-type: ASSEMBLY
|
|
[id="serverless-event-sinks"]
|
|
= Event sinks
|
|
include::_attributes/common-attributes.adoc[]
|
|
:context: serverless-event-sinks
|
|
|
|
toc::[]
|
|
|
|
A sink is an addressable custom resource (CR) that can receive incoming events from other resources. Knative services, channels, and brokers are all examples of sinks.
|
|
|
|
// Using --sink flag with kn (generic)
|
|
include::modules/specifying-sink-flag-kn.adoc[leveloffset=+1]
|
|
|
|
[TIP]
|
|
====
|
|
You can configure which CRs can be used with the `--sink` flag for `kn` CLI commands by xref:../../serverless/cli_tools/advanced-kn-config.adoc#serverless-kn-config_advanced-kn-config[Customizing `kn`].
|
|
====
|
|
|
|
// Connect sinks to sources in ODC
|
|
include::modules/serverless-connect-sink-source-odc.adoc[leveloffset=+1]
|
|
// Connect a trigger to a sink
|
|
include::modules/serverless-connect-trigger-sink.adoc[leveloffset=+1]
|