Skip to content

added changes that brings in a new option with trivup command i.e a daemon flag(--d)#24

Open
poushalibanik wants to merge 4 commits intoedenhill:masterfrom
poushalibanik:daemon-arg
Open

added changes that brings in a new option with trivup command i.e a daemon flag(--d)#24
poushalibanik wants to merge 4 commits intoedenhill:masterfrom
poushalibanik:daemon-arg

Conversation

@poushalibanik
Copy link

A new option has been added to trivup (--d) that now enables trivup to run in the background. With this change trivup now runs for as long as possible and it won't stop the cluster unless n until someone kills the process explicitly.
The PR has 4 main changes :

  1. Added a new daemon option(--d) and its corresponding logic.
  2. The new logic now gives us the process id, which can be later on used to kill the process explicitly.
  3. Gives us the broker port as output.
  4. And also gives us the schema port. (no need of additional steps for fetching schema port)

There's another change as well wherein the url instead of just printing localhost now prints the hostname of the system wherever trivup is being ran.

With option --d alone:
Screenshot 2025-11-06 at 4 15 26 PM

Without option --d:
Screenshot 2025-11-06 at 4 24 39 PM

Option --d along with broker-ports option:
Screenshot 2025-11-06 at 4 25 31 PM

Option --d along with brokers option i.e broker count:
Screenshot 2025-11-06 at 4 27 25 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments