leocavalhere6 opened a new pull request, #24781: URL: https://github.com/apache/pulsar/pull/24781
## Description - Added convenience methods to build `PulsarClient` and `PulsarAdmin`. - Enabled starting the server without creating real files on disk. - Added unit tests to ensure usage via Java program. **Fixes:** #10473 ## Motivation Make `PulsarStandaloneBuilder` usable as a public API for unit tests, without requiring Docker/Testcontainers. ## Modifications - Added `buildClient()` and `buildAdmin()` methods. - Create temporary directories for ZK and BK to avoid writing on disk. - Added `PulsarStandaloneBuilderTest.java` unit test. ## Verifying this change - Ran `mvn test` to ensure all unit tests pass, including `PulsarStandaloneBuilderTest`. ## Does this pull request potentially affect one of the following parts: - [x] The public API ## Documentation - [x] `doc-not-needed` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
