Skip to content

interceptors go and java - #5102

Open
jsundai wants to merge 4 commits into
mainfrom
draft-go-java-interceptors
Open

interceptors go and java #5102
jsundai wants to merge 4 commits into
mainfrom
draft-go-java-interceptors

Conversation

@jsundai

@jsundai jsundai commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Content gap - Go and Java support interceptors, but develop docs only covered Python, TypeScript, and .NET. Add minimal Go and Java Interceptors pages.

Notes to reviewers

┆Attachments: EDU-6948 interceptors go and java

@vercel

vercel Bot commented Aug 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
temporal-documentation Ready Ready Preview Aug 14, 2026 9:29pm

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

✅ Docs build passed

@jsundai
jsundai marked this pull request as ready for review August 14, 2026 19:32
@jsundai
jsundai requested a review from a team as a code owner August 14, 2026 19:32
Copilot AI balanced review requested due to automatic review settings August 14, 2026 19:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Go and Java Interceptor documentation and integrates it into SDK navigation and related content.

Changes:

  • Adds Go and Java Interceptor pages.
  • Updates navigation and Worker indexes.
  • Redirects related documentation to the new guides and encyclopedia page.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
sidebars.js Adds Interceptor pages to SDK navigation.
docs/encyclopedia/interceptors.mdx Links the new SDK guides.
docs/develop/plugins-guide.mdx Links to the Interceptor overview.
docs/develop/java/workers/interceptors.mdx Adds Java guidance.
docs/develop/java/workers/index.mdx Lists Java Interceptors.
docs/develop/java/best-practices/error-handling.mdx Links to the Java guide.
docs/develop/go/workers/interceptors.mdx Adds Go guidance.
docs/develop/go/workers/index.mdx Lists Go Interceptors.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +9 to +10
keywords:
- interceptors
Comment on lines +9 to +10
keywords:
- interceptors
Comment on lines +20 to +22
Register them on the Client (`client.Options.Interceptors`), the Worker (`worker.Options.Interceptors`), or both. Embed
`ClientInterceptorBase` / `WorkerInterceptorBase` and override only the methods you need. Full API:
[`go.temporal.io/sdk/interceptor`](https://pkg.go.dev/go.temporal.io/sdk/interceptor).
Comment on lines +20 to +21
Register them on the Client (`WorkflowClientOptions.setInterceptors`) or the Worker Factory
(`WorkerFactoryOptions.setWorkerInterceptors`). Extend `WorkflowClientInterceptorBase` / `WorkerInterceptorBase` and
### Interceptors

Interceptors are middleware that can run before and after various calls such as Activities, Workflows, and Signals. You can [learn more about interceptors](/develop/python/workers/interceptors) for the details of implementing them. They're used to:
Interceptors are middleware that can run before and after various calls such as Activities, Workflows, and Signals. You can [learn more about interceptors](/encyclopedia/interceptors) for the details of implementing them. They're used to:
Comment on lines +22 to +23
override only the methods you need. Full API:
[`io.temporal.common.interceptors`](https://www.javadoc.io/doc/io.temporal/temporal-sdk/latest/io/temporal/common/interceptors/package-summary.html).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants