apache / apache/pulsar

Cleanup synchronous call in resources component

Open
#22,544 1 comment 0 reactions 0 assignees View on GitHub
help wanted type/enhancement
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.

### Motivation

We should clean up all the synchronous call for resources components to avoid someone using them to block the metadata thread.

FYI: https://github.com/apache/pulsar/pull/22542

### Solution

_No response_

### Alternatives

_No response_

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the resources component and the context from PR #22542, then trace the synchronous calls that can block the metadata thread. Confirm the scope with project maintainers before changing anything; done means the identified resource operations are asynchronous and the relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.