interceptors go and java - #5102
Open
jsundai wants to merge 4 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📖 Docs PR preview links
|
Contributor
✅ Docs build passed |
jsundai
marked this pull request as ready for review
August 14, 2026 19:32
Contributor
There was a problem hiding this comment.
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). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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