Skip to content

feat(gateway): Kafka record headers reference + examples#5622

Open
lena-larionova wants to merge 3 commits into
release/gateway-3.15from
feat/kafka-record-headers
Open

feat(gateway): Kafka record headers reference + examples#5622
lena-larionova wants to merge 3 commits into
release/gateway-3.15from
feat/kafka-record-headers

Conversation

@lena-larionova

@lena-larionova lena-larionova commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Description

Adds a reference blurb and examples for forwarding kafka record headers to the Kafka Upstream and Confluent plugins.

Fixes #5437

Preview Links

https://deploy-preview-5622--kongdeveloper.netlify.app/plugins/kafka-upstream/#kafka-record-headers
https://deploy-preview-5622--kongdeveloper.netlify.app/plugins/confluent/#kafka-record-headers

Copilot AI review requested due to automatic review settings June 18, 2026 03:55
@lena-larionova lena-larionova requested a review from a team as a code owner June 18, 2026 03:55
@netlify

netlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit 28ae99b
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/6a33758ebc9c890008e9506c
😎 Deploy Preview https://deploy-preview-5622--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.

Pull request overview

Adds documentation and plugin example configs for forwarding HTTP request headers as native Kafka record headers in the Kafka Upstream plugin docs.

Changes:

  • Adds a new “Kafka record headers” reference section (with allowlist/blocklist modes) to the Kafka Upstream plugin overview.
  • Introduces two new plugin examples demonstrating allowlist and blocklist header-forwarding configurations.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
app/_kong_plugins/kafka-upstream/index.md Adds a new reference section describing config.headers behavior and links to the new examples.
app/_kong_plugins/kafka-upstream/examples/record-headers-allowlist.yaml New example showing allowlist mode with include_headers + name_mappings.
app/_kong_plugins/kafka-upstream/examples/record-headers-blocklist.yaml New example showing blocklist mode with exclude_headers.

Comment thread app/_kong_plugins/kafka-upstream/index.md Outdated
Comment thread app/_kong_plugins/kafka-upstream/examples/record-headers-allowlist.yaml Outdated
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.

2 participants