You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "merlimat (via GitHub)" <gi...@apache.org> on 2026/03/21 16:19:36 UTC
[PR] [cleanup][metadata] PIP-462: Remove Etcd metadata store backend [pulsar]
merlimat opened a new pull request, #25380:
URL: https://github.com/apache/pulsar/pull/25380
## Summary
- Remove Etcd metadata store implementation and tests
- Remove `jetcd-core-shaded` module
- Remove jetcd dependencies from `pulsar-metadata` and `pulsar-broker`
- Remove Etcd-related SSL test certificates and OWASP suppressions
## Motivation
PIP-462: https://github.com/apache/pulsar/pull/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](https://github.com/apache/pulsar-java-contrib) repository.
### Documentation
- [ ] `doc-required`
(If you update the PR title, please also update `Title` above, since they are
used in the release notes.)
- [ ] `doc-not-needed`
(Your PR doesn't need any doc update, such as a typo fix or an internal
refactoring.)
- [x] `doc-complete`
(If your PR needs doc update, please complete the PR in
[apache/pulsar-site](https://github.com/apache/pulsar-site).)
### Matching PR in forked repository
N/A
### Ready to test
- [x] `ready-to-test`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [cleanup] PIP-462: Remove Etcd metadata store backend [pulsar]
Posted by "merlimat (via GitHub)" <gi...@apache.org>.
merlimat merged PR #25380:
URL: https://github.com/apache/pulsar/pull/25380
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [cleanup] PIP-462: Remove Etcd metadata store backend [pulsar]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #25380:
URL: https://github.com/apache/pulsar/pull/25380#issuecomment-4104639892
## [Codecov](https://app.codecov.io/gh/apache/pulsar/pull/25380?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:x: Patch coverage is `0%` with `2 lines` in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 72.77%. Comparing base ([`a27988b`](https://app.codecov.io/gh/apache/pulsar/commit/a27988bc109e35a1b5efd82cce3b4f789a48d724?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`068994e`](https://app.codecov.io/gh/apache/pulsar/commit/068994ee98a1d4ad165e7c1246fe2a378806e442?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 4 commits behind head on master.
| [Files with missing lines](https://app.codecov.io/gh/apache/pulsar/pull/25380?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
|---|---|---|
| [...pulsar/metadata/impl/MetadataStoreFactoryImpl.java](https://app.codecov.io/gh/apache/pulsar/pull/25380?src=pr&el=tree&filepath=pulsar-metadata%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fpulsar%2Fmetadata%2Fimpl%2FMetadataStoreFactoryImpl.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-cHVsc2FyLW1ldGFkYXRhL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9wdWxzYXIvbWV0YWRhdGEvaW1wbC9NZXRhZGF0YVN0b3JlRmFjdG9yeUltcGwuamF2YQ==) | 0.00% | [1 Missing and 1 partial :warning: ](https://app.codecov.io/gh/apache/pulsar/pull/25380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
<details><summary>Additional details and impacted files</summary>
[](https://app.codecov.io/gh/apache/pulsar/pull/25380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
```diff
@@ 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
```
| [Flag](https://app.codecov.io/gh/apache/pulsar/pull/25380/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [inttests](https://app.codecov.io/gh/apache/pulsar/pull/25380/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `25.74% <0.00%> (-0.17%)` | :arrow_down: |
| [systests](https://app.codecov.io/gh/apache/pulsar/pull/25380/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `22.59% <0.00%> (+0.01%)` | :arrow_up: |
| [unittests](https://app.codecov.io/gh/apache/pulsar/pull/25380/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `73.74% <0.00%> (-0.05%)` | :arrow_down: |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
| [Files with missing lines](https://app.codecov.io/gh/apache/pulsar/pull/25380?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [...pulsar/metadata/impl/MetadataStoreFactoryImpl.java](https://app.codecov.io/gh/apache/pulsar/pull/25380?src=pr&el=tree&filepath=pulsar-metadata%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fpulsar%2Fmetadata%2Fimpl%2FMetadataStoreFactoryImpl.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-cHVsc2FyLW1ldGFkYXRhL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9wdWxzYXIvbWV0YWRhdGEvaW1wbC9NZXRhZGF0YVN0b3JlRmFjdG9yeUltcGwuamF2YQ==) | `76.19% <0.00%> (-4.30%)` | :arrow_down: |
... and [78 files with indirect coverage changes](https://app.codecov.io/gh/apache/pulsar/pull/25380/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
</details>
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org