Skip to content
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

[fix][doc] fix doc and template error #18277

Merged
merged 2 commits into from
Nov 1, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Update site2/docs/functions-overview.md
Co-authored-by: tison <wander4096@gmail.com>
  • Loading branch information
labuladong and tisonkun authored Nov 1, 2022
commit 4d1c69ea48095819b19f2fc425ce5e99934fd4e1
6 changes: 3 additions & 3 deletions site2/docs/functions-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ Each time a function receives a message, it completes the following consume-appl
1. Consumes the message from one or more **input topics**.
2. Applies the customized (user-supplied) processing logic to the message.
3. Publishes the output of the message, including:
- writes output messages to an **output topic** in Pulsar
- writes logs to a **log topic** (if it is configured)for debugging
- writes [state](functions-develop-state.md) updates to BookKeeper (if it is configured)
1. writes output messages to an **output topic** in Pulsar
2. writes logs to a **log topic** (if it is configured)for debugging
3. writes [state](functions-develop-state.md) updates to BookKeeper (if it is configured)

You can write functions in Java, Python, and Go. For example, you can use Pulsar Functions to set up the following processing chain:
* A Python function listens for the `raw-sentences` topic and "sanitizes" incoming strings (removing extraneous white space and converting all characters to lowercase) and then publishes the results to a `sanitized-sentences` topic.
Expand Down