Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Start Nacos using Docker: docker-compose up -d
  2. Access Nacos console at http://localhost:8848/nacos (default credentials: nacos/nacos) In Nacos console, create a configuration: Data ID: nacos-config-demo.yaml Group: DEFAULT_GROUP Format: YAML Content: user: name: "test user"
  3. Run your Spring Boot application and test it: mvn spring-boot:run
  4. Test the configuration by accessing: http://localhost:8080/config The application will fetch the configuration from Nacos and display the value. Any changes you make to the configuration in Nacos will be automatically reflected in your application without requiring a restart (thanks to @RefreshScope).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages