datastax / pulsar-ansible

Apache License 2.0
4 stars 9 forks source link

Use systemd scripts to start and stop Pulsar servers #2

Open yabinmeng opened 2 years ago

yabinmeng commented 2 years ago

Currently, the scripts use Pulsar's built-in pulsar-daemon script to start or stop Pulsar servers (zookeepers, brokers, and bookies). It is better to create corresponding systemd scripts to do the job.

lhotari commented 2 years ago

There's currently also a concern that environment variables don't properly get passed to the scripts when environment variables contain spaces and quotes. When working on the systemd scripts, the solution should be refactored so that environment variables are properly set to the systemd service configuration file.