feat(gateway): Kafka record headers reference + examples#5622
Open
lena-larionova wants to merge 3 commits into
Open
feat(gateway): Kafka record headers reference + examples#5622lena-larionova wants to merge 3 commits into
lena-larionova wants to merge 3 commits into
Conversation
✅ Deploy Preview for kongdeveloper ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
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. |
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.
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