The easiest way to start publishing and subscribing with PubSub+ Standard is by launching a Docker container, so before you start, you need to have Docker installed on your host machine.
Don’t have Docker? Go to Docker – Get Started.
Already installed Docker? Proceed to step 2.
Pull the message broker image from the Docker repository and start a container instance using these two steps:
docker run -d -p 8080:8080 -p 55555:55555 -p:80:8008 -p:1883:1883 -p:8000:8000 -p:5672:5672 -p:9000:9000 -p:2222:2222 --shm-size=2g --env username_admin_globalaccesslevel=admin --env username_admin_password=admin --name=solace solace/solace-pubsub-standard
This command starts a message broker container named solace, using the latest PubSub+ Standard image pulled from Docker Hub, creates an admin user with global access permissions, and publishes the following message broker container ports to the same ports on your host machine:
Optional – Learn how to connect your microservices with PubSub+ from the pros at Solace who live and breathe this every day. We’ll send you helpful tips and tricks including tutorials and sample projects.
Congratulations! With these few steps you’ve used your message broker to transfer a message between publisher and subscriber. As a next step, you can access our management tool Solace PubSub+ Manager to configure or monitor your message broker:
If you’ve signed up for updates we’ll send you some cool projects you can use to learn more about using PubSub+ Standard. Otherwise, we encourage you to consider the following links to learn more about the various capabilities you have access to now that you have PubSub+ running in your environment: