Skip to content

feat(gateway): Kafka upstream detailed errors#5625

Open
lena-larionova wants to merge 1 commit into
release/gateway-3.15from
feat/kafka-upstream-debugging
Open

feat(gateway): Kafka upstream detailed errors#5625
lena-larionova wants to merge 1 commit into
release/gateway-3.15from
feat/kafka-upstream-debugging

Conversation

@lena-larionova

Copy link
Copy Markdown
Contributor

Description

Adds a debugging section for the kafka upstream plugin with the new error handling setting. No plugin example since it's a one-param change, but it felt like having info about debugging the plugin might be useful (even if it's just one setting).

Based on https://github.com/Kong/kong-technical-enablement/tree/main/api-gateway/3.15/surface-kafka-upstream-errors

Preview Links

@lena-larionova lena-larionova added this to the Gateway 3.15 milestone Jun 18, 2026
Copilot AI review requested due to automatic review settings June 18, 2026 05:45
@lena-larionova lena-larionova requested a review from a team as a code owner June 18, 2026 05:45
@netlify

netlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit c8ad2c0
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/6a3385ea295b190008218cd7
😎 Deploy Preview https://deploy-preview-5625--kongdeveloper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

✅ Ready to approve

The change is documentation-only and looks correct overall, with only a minor wording nit identified.

Note: this review does not count toward required approvals for merging.

Pull request overview

This PR enhances the Kafka Upstream plugin documentation by adding a new debugging section describing how to return detailed Kafka client errors to the HTTP client using the new config.error_handling.return_error_message setting.

Changes:

  • Added a Debugging section for Kafka Upstream documenting default error behavior and an example response payload.
  • Documented how to enable detailed Kafka client errors in responses and added a production-safety warning.
File summaries
File Description
app/_kong_plugins/kafka-upstream/index.md Adds a new debugging section for the Kafka Upstream plugin explaining the new detailed error response behavior and its risks.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Note

Your feedback helps us improve the quality of this feature.
Please use 👍 or 👎 to tell us whether this assessment is correct.


## Debugging {% new_in 3.15 %}

By default, produce failures return a generic error to the HTTP client and log the real cause in the {{site.base_gateway}} logs:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants