Skip to content

Fix broken links for openfunction events docs #183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/en/docs/concepts/Events/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Events"
linkTitle: "Events"
title: "OpenFunction Events"
linkTitle: "OpenFunction Events"
weight: 4500
description:
---
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/concepts/Events/clustereventbus.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This document describes how to use a ClusterEventBus.

## Prerequisites

You have finished the steps described in [Use EventBus and Trigger](../use-event-bus-and-trigger).
You have finished the steps described in [Use EventBus and Trigger](../event-bus-and-trigger).

## Use a ClusterEventBus

Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/concepts/Events/event-bus-and-trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ This document gives an example of how to use EventBus and Trigger.

## Prerequisites

- You need to create a function as the target function to be triggered. For more information, see [Use EventSource](../use-event-source#create-a-function).
- You need to create a Kafka cluster. For more information, see [Use EventSource](../use-event-source#create-a-kafka-cluster).
- You need to create a function as the target function to be triggered. Please refer to [Create a function](../event-source#create-a-function) for more details.
- You need to create a Kafka cluster. Please refer to [Create a Kafka cluster](../event-source#create-a-kafka-cluster) for more details.

## Deploy an NATS streaming server

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/concepts/Events/event-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ In this example, an EventSource is defined for synchronous invocation to use the

## Create a Function

Use the following content to create a function as the EventSource Sink. For more information about how to create a function, see [Your First Function: Go](../../../getting-started/your-first-function/function-go).
Use the following content to create a function as the EventSource Sink. For more information about how to create a function, see [Create sync functions](../../../getting-started/quickstarts/sync-functions).

```yaml
apiVersion: core.openfunction.io/v1beta1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
---
title: "Events"
linkTitle: "Events"
title: "Introduction"
linkTitle: "Introduction"
weight: 3400
description:
---

This document describes the concept of Events in OpenFunction.

## Overview

Events is the event management framework for OpenFunction. It provides the following core features:
OpenFunction Events is OpenFunction's event management framework. It provides the following core features:

- Support for triggering target functions by synchronous and asynchronous calls
- User-defined trigger judgment logic
- The components of OpenFunction Events can be driven by OpenFunction itself

## Architecture

The following diagram illustrates the architecture of Events.
The following diagram illustrates the architecture of OpenFunction Events.

![openfunction-events](/images/docs/en/concepts/events/openfunction-events.svg)

Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/concepts/Events/multisource-in-eventsource.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ This document describes how to use multiple sources in one EventSource.

## Prerequisites

- You need to create a function as the target function to be triggered. For more information, see [Use EventSource](../use-event-source#create-a-function).
- You need to create a Kafka cluster. For more information, see [Use EventSource](../use-event-source#create-a-kafka-cluster).
- You need to create a function as the target function to be triggered. Please refer to [Create a function](../event-source#create-a-function) for more details.
- You need to create a Kafka cluster. Please refer to [Create a Kafka cluster](../event-source#create-a-kafka-cluster) for more details.

## Use Multiple Sources in One EventSource

Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/concepts/Events/trigger-conditions.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This document describes how to use Trigger conditions.

## Prerequisites

You have finished the steps described in [Use EventBus and Trigger](../use-event-bus-and-trigger).
You have finished the steps described in [Use EventBus and Trigger](../event-bus-and-trigger).

## Use Trigger Conditions

Expand Down Expand Up @@ -125,7 +125,7 @@ You have finished the steps described in [Use EventBus and Trigger](../use-event
serving-4x5wh-ksvc-wxbf2-v100-deployment-5c495c84f6-k2jdg 2/2 Running 0 46s
```

5. Create an event producer by referring to [Create an Event Producer](../../use-event-bus-and-trigger#create-an-event-producer).
5. Create an event producer by referring to [Create an Event Producer](../event-bus-and-trigger#create-an-event-producer).

6. Run the following command and you can see from the output that the `eventA && eventB` condition in the Trigger is matched and the event is sent to the `metrics` topic of the event bus at the same time. The OpenFuncAsync function is triggered.

Expand Down