feat(kafka-logger): add configurable api_version for Apache Kafka 4.x support#13040
Open
macdoor wants to merge 8 commits intoapache:masterfrom
Open
feat(kafka-logger): add configurable api_version for Apache Kafka 4.x support#13040macdoor wants to merge 8 commits intoapache:masterfrom
macdoor wants to merge 8 commits intoapache:masterfrom
Conversation
… support - Set default api_version to 2 (Kafka 4.x drops magic0/magic1) - Make api_version configurable (0, 1, 2) for Kafka < 0.10.0.0 compatibility - Add api_version to broker_config when creating producer fix apache#12984 Made-with: Cursor
Baoyuantop
reviewed
Feb 27, 2026
added 3 commits
February 27, 2026 16:03
- Revert CHANGELOG.md (maintainers update it during release) - Set api_version default to 0 for backward compatibility - Use conf.api_version directly without fallback Made-with: Cursor
Avoid passing api_version=nil to producer config when not specified, let lua-resty-kafka use its default (0) for backward compatibility. Made-with: Cursor
… line length (100) Made-with: Cursor
Baoyuantop
reviewed
Feb 28, 2026
Baoyuantop
reviewed
Feb 28, 2026
Made-with: Cursor
added 3 commits
February 28, 2026 13:13
Made-with: Cursor
…hema guarantee Made-with: Cursor
… numbering
- Switch Kafka 4.x image from apache/kafka to bitnamilegacy/kafka:4.0.0
- Add single-node replication factor settings for KRaft
- Simplify topic creation retry loop to {1..20}
- Run reindex to fix kafka-logger.t test numbering for lint
Made-with: Cursor
e98db71 to
1812f51
Compare
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.
… support
Description
Which issue(s) this PR fixes:
Fixes #12984
Fixes #11811
Checklist