Closed fifthposition closed 8 years ago
I would put a note that essentially says what you have as a note right here.
The section where you show how to run multiple copies, I would use the same tactic for supplying SERVER_PORT, since it works for both gradle and maven:
$ SERVER_PORT=9092 ./gradlew bootRun
...and...
$ SERVER_PORT=9092mvn spring-boot:run
It's just a little less overhead for the developer, since they can see it's the same thing.
Apart from that, it looks great.
Both done. :smiley: Thank you!
Note that this doesn’t use
@Configuration
on the configuration class used for the Ribbon client, as that class is picked up by being in the same package as the@SpringBootApplication
application class. From the Spring Cloud Netflix docs for Ribbon:Should I elaborate on this (or add a note on it, or something)?