From a21ad6bc10bb604648f9a49f66f159f0b5017226 Mon Sep 17 00:00:00 2001 From: "Han Verstraete (OpenFaaS Ltd)" Date: Fri, 10 Jan 2025 17:29:00 +0100 Subject: [PATCH] Add note on async invocations for the Kafka connector Signed-off-by: Han Verstraete (OpenFaaS Ltd) --- docs/openfaas-pro/kafka-events.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/openfaas-pro/kafka-events.md b/docs/openfaas-pro/kafka-events.md index 2767d66..6b98f6a 100644 --- a/docs/openfaas-pro/kafka-events.md +++ b/docs/openfaas-pro/kafka-events.md @@ -89,6 +89,14 @@ For detailed examples with Go, see: [Everyday Golang (Premium Edition)](https:// * [Quick start with the Helm chart - self-hosted, SASL and TLS Client Certificates](https://github.com/openfaas/faas-netes/blob/master/chart/kafka-connector/quickstart.md) * Original launch blog post: [Staying on topic: trigger your OpenFaaS functions with Apache Kafka](https://www.openfaas.com/blog/kafka-connector/) +## Async invocations + +The connector can be configured to invoke function asynchronously. This lets you use [OpenFaaS async](https://docs.openfaas.com/reference/async/) features like retries. + +To prevent the connector from consuming all Kafka messages at once and submitting them to the OpenFaaS async queue a limit on the number of inflight async invocations can be configured. + +See the [Kafka connector README](https://github.com/openfaas/faas-netes/blob/master/chart/kafka-connector/README.md#async-invocations) to configure the connector for async invocations. + ## Would you like a demo? Feel free to reach out to us for a demo or to ask any questions you may have.