Component Configuration Examples

View Lodsve Boot annotated YAML configuration examples by module.

Configuration examples are split by module, and only the parts actually used by the project are kept when copying; addresses and credentials in examples such as database, Redis, object storage, etc. should be replaced with values from the current environment.

moduleExample
Core and Snowflake examplesAnnotated YAML example.
Event exampleAnnotated YAML example.
Countdown exampleAnnotated YAML example.
Encryption configuration exampleAnnotated YAML example.
File System ExampleAnnotated YAML example.
MongoDB exampleDefault connection and named multiple data source configuration.
MyBatis exampleAnnotated YAML example.
RabbitMQ exampleAnnotated YAML example.
Redis exampleAnnotated YAML example.
RDBMS and Druid examplesAnnotated YAML example.
RocketMQ exampleAnnotated YAML example.
Swagger exampleAnnotated YAML example.
WebMVC exampleAnnotated YAML example.

The configuration of Spring Boot, Spring Cloud, RabbitMQ, and RocketMQ clients do not belong to these lodsve.* examples; please check the official documentation according to the dependency version used.

Architecture diagram