https://github.com/linux-china/spring-boot-kotlin-microservices
Spring Boot MicroServices with Kotlin
https://github.com/linux-china/spring-boot-kotlin-microservices
Last synced: 8 months ago
JSON representation
Spring Boot MicroServices with Kotlin
- Host: GitHub
- URL: https://github.com/linux-china/spring-boot-kotlin-microservices
- Owner: linux-china
- Created: 2018-10-22T21:05:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T20:52:26.000Z (almost 3 years ago)
- Last Synced: 2025-04-02T02:51:14.394Z (over 1 year ago)
- Language: Kotlin
- Size: 60.5 KB
- Stars: 12
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Spring Boot MicroServices with Kotlin
=====================================
Spring Boot 2.0.X MicroServices with Kotlin
### environment
please install Java 8 JCE: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
### Services
* Config Server
* Registry Server with Consul
* Spring Boot Admin Server
* Spring Cloud DataFlow Server
* Spring Cloud Skipper Ser
* Spring Cloud Gateway
* Spring-Fu
* SideCar proxy with Envoy
### Tech stack
* Kotlin Coroutine
* Reactive Web
* RSocket
### How to start services
* Start Consul from docker-compose.yml
* Start Config Server(integrated with eureka)
* Start Spring Boot Admin (integrated with eureka)
### Maven plugins
* maven-compiler-plugin: 1.8 compile
* spring-boot-maven-plugin: build-info
* git-commit-id-plugin: git full mode
### Spring Cloud Consul
#### Startup
* docker-compose up -d
* visit http://localhost:8500/ui/ for Consul
* visit http://localhost:9411/zipkin/ for Zipkin
#### Consul Configuration
Consul Key/Value支持的Spring config Server目录结构如下:
config/testApp,dev/
config/testApp/
config/application,dev/
config/application/
接下来就是在这些目录下创建对应的Key/Value。
* MicroServices with Consul: https://www.infoq.com/articles/Microservices-SpringBoot
# Tools
* Redis
* Consul
* NATS
* MySQL
### Reference
* What's New In Kotlin 1.3: https://todd.ginsberg.com/post/kotlin-1.3-features/
* Kotlin support in Spring 5.0: https://docs.spring.io/spring/docs/current/spring-framework-reference/languages.html#kotlin
* Spring Cloud: http://cloud.spring.io/spring-cloud-static/Finchley.RELEASE/single/spring-cloud.html
* Spring Cloud Consul: http://cloud.spring.io/spring-cloud-consul/
* Spring Cloud ZooKeeper: http://cloud.spring.io/spring-cloud-zookeeper/spring-cloud-zookeeper.html
* Spring Cloud CLI Launcher: https://spring.io/blog/2016/11/02/introducing-the-spring-cloud-cli-launcher