Hi Team,

I was referring to following example to quick start with geode.

https://github.com/jxblum/actionable-spring-gemfire/
blob/master/configuration-example/src/main/java/example/
app/spring/data/geode/server/DataGeodeServerApplication.java

With this approach, I see that values are available at compile time. If I
want to make this values dynamic using annotations, how we can do that in
spring boot application?

I want to have multiple server nodes for which I want to use my same spring
boot application to spawn multiple jvms. If I want to run 2 nodes on same
machine, static values as per above annotations will conflict.

Is there any good way to achieve this?

Example : java -jar springbootapp.jar -DServerName=ServerA
-DServerPort=40405 -DJmxManagerPort=1201

Thanks,
Parin

Reply via email to