apache / apache/pulsar

PulsarStandaloneBuilder: make it a public API

Open
#10,473 4 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted type/enhancement
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 22h
Merged PRs (30d)
142

Description

PulsarStandaloneBuilder looks like a great API for users to launch an embedded Pulsar service for unit tests.

Currently (2.8.0) there are a few problems that need to be fixed:
- Provide convenience methods to build a Pulsar Client and a Pulsar Admin
- Provide a way to start the server without creating a real file on disk
- Add tests that ensure that PulsarStandaloneBuilder can be called by a Java program, not only by the means of the scripts bundled with Pulsar

Contributor guide

Open the contributing guide

Research direction

Start by reading PulsarStandaloneBuilder and the bundled Pulsar scripts to understand the existing launch path and available lifecycle behavior. Check how Java programs currently access the builder, then verify the convenience client and admin creation, disk-free startup, and direct Java invocation with tests; done means all three requested use cases work without relying on scripts.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.