Skip to content

Commit 37febda

Browse files
authored
Merge pull request #38259 from abrennan89/SRVKE-940
SRVKE-940: Add note about at least once delivery for Kafka
2 parents 4312e22 + 35ebd28 commit 37febda

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

serverless/knative_eventing/serverless-kafka.adoc

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,23 @@ include::modules/common-attributes.adoc[]
66

77
toc::[]
88

9-
You can use the `KafkaChannel` channel type and `KafkaSource` event source with {ServerlessProductName}.
10-
To do this, you must install the Knative Kafka components, and configure the integration between {ServerlessProductName} and a supported link:https://access.redhat.com/documentation/en-us/red_hat_amq/7.6/html/amq_streams_on_openshift_overview/index[Red Hat AMQ Streams] cluster.
9+
You can use the `KafkaChannel` channel type and `KafkaSource` event source with {ServerlessProductName}. To do this, you must install the Knative Kafka components, and configure the integration between {ServerlessProductName} and a supported link:https://access.redhat.com/documentation/en-us/red_hat_amq/7.6/html/amq_streams_on_openshift_overview/index[Red Hat AMQ Streams] cluster.
1110

1211
[NOTE]
1312
====
1413
Knative Kafka is not currently supported for IBM Z and IBM Power Systems.
1514
====
1615

16+
[id="serverless-kafka-delivery-retries"]
17+
== Event delivery and retries
18+
19+
Using Kafka components in your event-driven architecture provides "at least once" guarantees for event delivery. This means that operations are retried until a return code value is received. However, while this makes your application more resilient to lost events, it might result in duplicate events being sent.
20+
21+
For the Kafka event source, there is a fixed number of retries for event delivery by default. For Kafka channels, retries are only performed if they are configured in the Kafka channel `Delivery` spec.
22+
23+
[id="install-serverless-kafka"]
24+
== Installing Knative Kafka
25+
1726
The {ServerlessOperatorName} provides the Knative Kafka API that can be used to create a `KnativeKafka` custom resource:
1827

1928
.Example `KnativeKafka` custom resource
@@ -36,7 +45,7 @@ spec:
3645
<3> Enables developers to use the `KafkaSource` event source type in the cluster.
3746

3847
// Install Kafka
39-
include::modules/serverless-install-kafka-odc.adoc[leveloffset=+1]
48+
include::modules/serverless-install-kafka-odc.adoc[leveloffset=+2]
4049

4150
[id="serverless-kafka-channel-link"]
4251
== Using Kafka channels

0 commit comments

Comments
 (0)