Download and Run Axon Server (2024)
In this tutorial, we will demonstrate how to download and run Axon Server by changing configuration properties.
What is Axon Server?
Ans:
Axon Server enhances the Axon Framework by offering powerful, unified messaging services suited to Axon applications such as event storage, clustering, load-balancing, message routing, service discovery, and monitoring.
Download and Run Axon Server
- Go to https://axoniq.io/ -> Download
- Download the Axon Server ZIP File
- Once download, extract the zip at local.
- Start the axon server using the following command in a command prompt window.
- Once axon server started, we can access the axon dashboard at http://localhost:8024
- We can stop the server by using keys ctrl c.
java -jar axonserver.jar
The axon server will start on port 8024 by default.
Take a look at our Suggested Posts :
Axon Server Configurations
- Create the
config
folder and theaxonserver.properties
file for adding any configuration properties. - Axon Configuration Properties can be found on the Axon Configuration Properties website.
We
must use the prefix
axoniq.axonserver
for the configuration properties if we want to update any of the configuration properties. Furthermore, as stated in the axon server documentation. It is not necessary to use a prefix forserver.port
. - The axon server should now be up and running.
- Once the axon server is up and running, we can go to http://localhost:8888/ to
visit the axon
dashboard. Node name, host name, and http port are reflected from the
axonserver.properties
file in the configuration section.
java -jar axonserver.jar
As you can see, Axon server is running on port
8888.