maranmaran opened a new pull request, #565: URL: https://github.com/apache/pulsar-manager/pull/565
Fixes #563 ### Motivation I'm working on integrating apache pulsar into [.NET Aspire](https://github.com/dotnet/aspire) Next to pulsar I wish to deliver a management UI, pulsar manager. Like Kafka and Rabbit do. Here's [my implementation](https://github.com/maranmaran/aspire/tree/feature/hosting-apache-pulsar/src/Aspire.Hosting.Apache.Pulsar) Right now, in order for me to seed default superuser, I must do this gymnastics of waiting for container and backend to be ready then acquire token, then issue put request. This is clumsy a little and there should be a way to provide some default superuser via configuration. Like rabbit does, SQL, bunch of other tools. In particular I'm afraid that Aspire team [won't accept a solution like this one](https://github.com/maranmaran/aspire/blob/feature/hosting-apache-pulsar/src/Aspire.Hosting.Apache.Pulsar/PulsarManagerSeedDefaultSuperUser.cs) Where I subscribe lifecycle hooks of container and then retry loop till I seed the user. It works, but it feels too "hacky" ### Modifications In `PulsarApplicationListener` implemented `seedDefaultSuperuser` ### Verifying this change - [x] Make sure that the change passes the `./gradlew build` checks. -- 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]
