[cleanup] PIP-462: Remove Etcd metadata store backend - #25380
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #25380 +/- ##
============================================
- Coverage 72.81% 72.77% -0.05%
+ Complexity 33791 33697 -94
============================================
Files 1954 1952 -2
Lines 154793 154525 -268
Branches 17731 17698 -33
============================================
- Hits 112716 112450 -266
+ Misses 33066 33043 -23
- Partials 9011 9032 +21
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
dao-jun
approved these changes
Mar 23, 2026
lhotari
approved these changes
Mar 23, 2026
Remove EtcdMetadataStore, EtcdSessionWatcher, and the jetcd-core-shaded shading module. Remove all jetcd dependencies from root pom, pulsar-metadata, pulsar-broker, and distribution modules. Remove Etcd SSL test certificates, OWASP suppressions, and Etcd references from config/license files. A clear error message is now returned if a user configures an etcd: URL.
merlimat
force-pushed
the
pip-462-remove-etcd
branch
from
March 24, 2026 19:37
1a03bff to
5660679
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.
Summary
jetcd-core-shadedmodulepulsar-metadataandpulsar-brokerMotivation
PIP-462: #25319
The Etcd metadata store backend is not used in production deployments. The jetcd library is poorly maintained and brings in significant transitive dependencies, requiring a dedicated shading module. This increases the Pulsar tarball and Docker image size unnecessarily.
ZooKeeper remains the fully supported default metadata store, and Oxia is the supported alternative for users seeking a different backend.
For users who still need Etcd support, it can be maintained as an external plugin via the pulsar-java-contrib repository.
Documentation
doc-required(If you update the PR title, please also update
Titleabove, since they areused in the release notes.)
doc-not-needed(Your PR doesn't need any doc update, such as a typo fix or an internal
refactoring.)
doc-complete(If your PR needs doc update, please complete the PR in
apache/pulsar-site.)
Matching PR in forked repository
N/A
Ready to test
ready-to-test