Skip to content

Commit 5fa60b3

Browse files
authored
Merge pull request #44475 from abrennan89/abstracts4
SRVCOM-1728: Updating broker and trigger abstracts for Jupiter guidelines
2 parents c68ea34 + eee9157 commit 5fa60b3

17 files changed

+52
-31
lines changed

modules/delete-kn-trigger.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
[id="delete-kn-trigger_{context}"]
77
= Deleting a trigger by using the Knative CLI
88

9-
You can use the `kn trigger delete` command to delete a trigger.
9+
Using the `kn` CLI to delete a trigger provides a streamlined and intuitive user interface. You can use the `kn trigger delete` command to delete a trigger.
1010

1111
.Prerequisites
1212

1313
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
14-
* You have installed the `kn` CLI.
14+
* You have installed the Knative (`kn`) CLI.
1515
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
1616
1717
.Procedure

modules/kn-trigger-describe.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
[id="kn-trigger-describe_{context}"]
77
= Describing a trigger by using the Knative CLI
88

9-
You can use the `kn trigger describe` command to print information about a trigger.
9+
Using the `kn` CLI to describe triggers provides a streamlined and intuitive user interface. You can use the `kn trigger describe` command to print information about existing triggers in your cluster by using the `kn` CLI.
1010

1111
.Prerequisites
1212

1313
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
14-
* You have installed the `kn` CLI.
14+
* You have installed the Knative (`kn`) CLI.
1515
* You have created a trigger.
1616
1717
.Procedure

modules/kn-trigger-filtering.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
:_content-type: REFERENCE
66
[id="kn-trigger-filtering_{context}"]
77
= Filtering events with triggers by using the Knative CLI
8+
// should be a procedure module but out of scope for this PR
9+
10+
Using the `kn` CLI to filter events by using triggers provides a streamlined and intuitive user interface. You can use the `kn trigger create` command, along with the appropriate flags, to filter events by using triggers.
811

912
In the following trigger example, only events with the attribute `type: dev.knative.samples.helloworld` are sent to the event sink:
1013

modules/kn-trigger-list.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
[id="kn-trigger-list_{context}"]
77
= Listing triggers by using the Knative CLI
88

9-
The `kn trigger list` command prints a list of available triggers.
9+
Using the `kn` CLI to list triggers provides a streamlined and intuitive user interface. You can use the `kn trigger list` command to list existing triggers in your cluster.
1010

1111
.Prerequisites
1212

1313
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
14-
* You have installed the `kn` CLI.
14+
* You have installed the Knative (`kn`) CLI.
1515
1616
.Procedure
1717

modules/kn-trigger-update.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
[id="kn-trigger-update_{context}"]
77
= Updating a trigger by using the Knative CLI
88

9-
You can use the `kn trigger update` command with certain flags to update attributes for a trigger.
9+
Using the `kn` CLI to update triggers provides a streamlined and intuitive user interface. You can use the `kn trigger update` command with certain flags to update attributes for a trigger.
1010

1111
.Prerequisites
1212

1313
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
14-
* You have installed the `kn` CLI.
14+
* You have installed the Knative (`kn`) CLI.
1515
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
1616
1717
.Procedure

modules/serverless-broker-types.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,7 @@ The channel-based broker implementation internally uses channels for event deliv
2121
[id="serverless-using-brokers-kafka"]
2222
== Kafka broker
2323

24+
:FeatureName: Kafka broker
25+
include::snippets/technology-preview.adoc[leveloffset=+2]
26+
2427
The Kafka broker is a broker implementation that uses Kafka internally to provide at-least once delivery guarantees. It supports multiple Kafka versions, and has a native integration with Kafka for storing and routing events.

modules/serverless-create-broker-kn.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
[id="serverless-create-broker-kn_{context}"]
77
= Creating a broker by using the Knative CLI
88

9+
Brokers can be used in combination with triggers to deliver events from an event source to an event sink. Using the `kn` CLI to create brokers provides a more streamlined and intuitive user interface over modifying YAML files directly. You can use the `kn broker create` command to create a broker by using the `kn` CLI.
10+
911
.Prerequisites
1012

1113
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
12-
* You have installed the `kn` CLI.
14+
* You have installed the Knative (`kn`) CLI.
1315
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
1416
1517
.Procedure
@@ -37,6 +39,7 @@ NAME URL
3739
default http://broker-ingress.knative-eventing.svc.cluster.local/test/default 45s 5 OK / 5 True
3840
----
3941

40-
. Optional: If you are using the {product-title} web console, you can navigate to the **Topology** view in the **Developer** perspective, and observe that the broker exists:
42+
. Optional: If you are using the {product-title} web console, you can navigate to the *Topology* view in the *Developer* perspective, and observe that the broker exists:
4143
+
4244
image::odc-view-broker.png[View the broker in the web console Topology view]
45+
// need to add separate docs for broker in ODC - out of scope for this PR

modules/serverless-create-kn-trigger.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
[id="serverless-create-kn-trigger_{context}"]
77
= Creating a trigger by using the Knative CLI
88

9-
You can create a trigger by using the `kn trigger create` command.
9+
Using the `kn` CLI to create triggers provides a more streamlined and intuitive user interface over modifying YAML files directly. You can use the `kn trigger create` command to create a trigger by using the `kn` CLI.
1010

1111
.Prerequisites
1212

1313
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
14-
* You have installed the `kn` CLI.
14+
* You have installed the Knative (`kn`) CLI.
1515
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
1616
1717
.Procedure

modules/serverless-create-trigger-odc.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="serverless-create-trigger-odc_{context}"]
77
= Creating a trigger by using the web console
88

9-
After you have created a broker, you can create a trigger by using the web console.
9+
Using the {product-title} web console provides a streamlined and intuitive user interface to create a trigger. After Knative Eventing is installed on your cluster and you have created a broker, you can create a trigger by using the web console.
1010

1111
.Prerequisites
1212

@@ -28,6 +28,7 @@ After you have created a broker, you can create a trigger by using the web conso
2828
* After the subscription has been created, you can view it in the *Topology* page, where it is represented as a line that connects the broker to the event sink.
2929
3030
.Deleting a trigger
31+
// should be a separate module; out of scope for this PR
3132

3233
. In the *Developer* perspective, navigate to the *Topology* page.
3334
. Click on the trigger that you want to delete.

modules/serverless-creating-broker-annotation.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="serverless-creating-broker-annotation_{context}"]
77
= Creating a broker by annotating a trigger
88

9-
You can create a broker by adding the `eventing.knative.dev/injection: enabled` annotation to a `Trigger` object.
9+
Brokers can be used in combination with triggers to deliver events from an event source to an event sink. You can create a broker by adding the `eventing.knative.dev/injection: enabled` annotation to a `Trigger` object.
1010

1111
[IMPORTANT]
1212
====
@@ -17,7 +17,7 @@ If you delete the broker without having a cluster administrator remove this anno
1717
.Prerequisites
1818

1919
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
20-
* Install the OpenShift CLI (`oc`).
20+
* Install the OpenShift (`oc`) CLI.
2121
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
2222
2323
.Procedure
@@ -68,6 +68,7 @@ NAME READY REASON URL
6868
default True http://broker-ingress.knative-eventing.svc.cluster.local/test/default 3m56s
6969
----
7070

71-
. Navigate to the *Topology* view in the web console, and observe that the broker exists:
71+
. Optional: If you are using the {product-title} web console, you can navigate to the *Topology* view in the *Developer* perspective, and observe that the broker exists:
7272
+
7373
image::odc-view-broker.png[View the broker in the web console Topology view]
74+
// need to add separate docs for broker in ODC - out of scope for this PR

0 commit comments

Comments
 (0)