@gotoeasy/spose
spose
Last updated 10 months ago by rpose .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @gotoeasy/spose 
SYNC missed versions from official npm registry.

@gotoeasy/spose

NPM version License

简易搭建Greenwich版微服务



安装

npm i -g @gotoeasy/spose

命令行例子

Java、Gradle、Redis、Kafka、ES等环境需自行准备

// 以下命令创建注册中心,会生成eureka工程目录并编译打包为jar文件
spose eureka

列表

<summary> 1. 注册中心 Eureka</summary>
  • spring boot 2.1.6.RELEASE
  • spring cloud Greenwich.RELEASE
  • 一个起动类
  • 配置文件

版本已定,起动类的类名和包名会不同但完全没影响
实际上仅仅是配置不同,而且,配置文件通常又是外置
所以,这个事情干一次就够了

命令行执行 spose eureka,随即生成工程目录并编译打包

<summary> 2. 配置中心 Config</summary>

同理 spose config

<summary> 3. 网关 Gateway</summary>

spose gateway

<summary> 4. 熔断监控 Turbine</summary>

spose turbine
可选,按需开启使用

<summary> 5. 服务监控 Spring Boot Admin</summary>

spose admin
可选,按需开启使用

<summary> 6. 链路跟踪 Zipkin</summary>

spose zipkin
按官方推荐,实际处理是下载最新版zipkin-server到当前目录供直接起动
可选,按需开启使用,被跟踪服务需相应配置

<summary> 7. 微服务 Redis</summary>

spose redis
假装一套缓存支持,极简接口,连接Redis

<summary> 8. 微服务 Kafka Producer</summary>

spose kafka-producer
假装一套消息队列生产者,极简接口,连接Kafka

<summary> 9. 微服务 Kafka Consumer</summary>

spose kafka-consumer
假装一套消息队列消费者,极简接口,连接Kafka

<summary> 10. 微服务 Kafka To ElasticSearch</summary>

spose kafka2es
假装一套消息队列消费者,消费队列中的日志,保存到ES中,连接Kafka、ES

<summary> 11. 微服务 Hello World</summary>

spose helloworld
联动各微服务

Current Tags

  • 0.0.21                                ...           latest (10 months ago)

21 Versions

  • 0.0.21                                ...           10 months ago
  • 0.0.20                                ...           10 months ago
  • 0.0.19                                ...           a year ago
  • 0.0.18                                ...           a year ago
  • 0.0.17                                ...           a year ago
  • 0.0.16                                ...           a year ago
  • 0.0.15                                ...           a year ago
  • 0.0.14                                ...           a year ago
  • 0.0.13                                ...           a year ago
  • 0.0.12                                ...           a year ago
  • 0.0.11                                ...           a year ago
  • 0.0.10                                ...           a year ago
  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
  • 0.0.6                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 21
Last Day 0
Last Week 21
Last Month 0
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |