Skip to content

rosky/spring-cloud-alibaba-boilerplate

Repository files navigation

Spring Cloud Alibaba Boilerplate

English

中文文档

Introduction

The best way to make microservices by spring-cloud-alibaba.

The core code from Examples.

Processing ...

The project is for study only. Not product availability now.

Product availability project please star 🚀steam-cloud: Not only a microservices framework.

Getting Started

Preparations

Development environment

  • Linux

  • JAVA 8

  • IntelliJ IDEA IDE

Sentinel

  • Download demo bin file here

  • Download release file here

run:

java -jar sentinel-dashboard.jar

Admin panel:

release version default login:

  • username: sentinel

  • password: sentinel

http://127.0.0.1:8080/

Nacos

  • Download release file here

run:

unzip nacos-server-1.0.0.zip
cd nacos/bin
sh startup.sh -m standalone

Admin panel:

http://127.0.0.1:8848/nacos

RocketMQ

  • Download release file here

run:

unzip rocketmq-all-4.7.0.zip
cd rocketmq-all-4.7.0

# Startup Name Server
sh bin/mqnamesrv

# Startup Broker
sh bin/mqbroker -n localhost:9876

# Create topic: test-topic
sh bin/mqadmin updateTopic -n localhost:9876 -c DefaultCluster -t test-topic

Start projects

Run is OK:

SentinelServiceApplication :28083/
NacosDiscoveryConsumerSCLBApplication :18083/
DemoApplication :58070/
DubboSpringCloudServletGatewayBootstrap :61178/
DubboSpringCloudWebProviderBootstrap :9090/
NacosGatewayDiscoveryApplication :18085/
RocketMQBusApplication :38080/
SentinelDubboConsumerApp
SentinelDubboProviderApp
SentinelSpringCloudGatewayApplication :28085/
SentinelWebFluxApplication :28084/
SentinelZuulApplication :28086/
SpringCloudConfigClientApplication :28080/
SpringCloudConfigServerApplication :7070/
RocketMQConsumerApplication
SentinelFeignConsumerApplication :18087/
SentinelFeignProviderApplication :18088/
RocketMQProducerApplication :38081/
NacosConfigApplication :18084/

Not tested:

DubboSpringCloudClientBootstrap
DubboSpringCloudConsumerBootstrap
DubboSpringCloudProviderBootstrap
DubboSpringCloudServerBootstrap

Reference

Trend(Why we choose SCA?):

trend-of-sca

Features:

features-of-sca

Architecture:

architecture-of-sca

Sentinel Features:

features-of-sentinel

Sentinel Ecosystem Landscape:

ecosystem-landscape-of-sentinel

Contributing

Come on.

About

The best way to make microservices by spring-cloud-alibaba.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages