随笔分类 - springboot
摘要:背景:项目需要pgsql 数据库与 clickhouse数据库两个数据源。 1 pom 文件 <dependency> <groupId>ru.yandex.clickhouse</groupId> <artifactId>clickhouse-jdbc</artifactId> <version>
阅读全文
摘要:在原来的项目上继续,地址 1 添加maven <!--redis--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> <
阅读全文
摘要:1 新建项目 具体参照,点击这里,然后选择maven 的时候,这里勾选上。 2 配置YML 文件 server: port: 8081 #服务注册中心端口号 eureka: instance: hostname: 127.0.0.1 #服务注册中心IP地址 client: registerWithE
阅读全文

浙公网安备 33010602011771号