Files
spring-pulsar/tools/pulsar/docker
Chris Bono 749f2dbb5e Add spring boot starter module (#56)
Also:
* Clean up dependencies (remove unused)
* Add README in samples how to run w/ new tools/pulsar

Fixes #49
2022-08-07 23:42:43 -05:00
..

== Docker scripts for Pulsar

=== Pulsar Standalone
Runs a local standalone Pulsar cluster in Docker.

* The broker is available at  `pulsar://localhost:6650`.
* The admin is available at  `http://localhost:8080`
* Two Docker volumes (`pulsardata`, `pulsarconf`) are created to store the data, metadata, and configuration in order to not start "fresh" every time the container is restarted.

[#_start_pulsar]
==== Start
To start the cluster run the following script from project root dir:
[source,shell]
----
./tools/pulsar/docker/standalone/pulsar-start.sh
----

==== Stop
To stop the cluster run the following script from project root dir:
[source,shell]
----
./tools/pulsar/docker/standalone/pulsar-stop.sh
----

==== Destroy
To completely remove the cluster and volumes run the following script from project root dir:
[source,shell]
----
./tools/pulsar/docker/standalone/pulsar-destroy.sh
----

More information can be found in the official https://pulsar.apache.org/docs/next/getting-started-docker[Pulsar docs].