1 Star 1 Fork 0

PanGerry / Live

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Live

Spring boot 2.1.2.RELEASE + Netty,reactive security,reactive mongodb,reactive websocket,reactor kafka

部署目录结构:

  • config
    • application.yml
    • global.properties
    • log4j2.xml
    • mini.properties
  • lib
    • **.jar
  • logs
    • info.log
    • error.log
  • live-1.0.jar

java -Dloader.path=lib -jar live-1.0.jar --server.port=8080 --server.servlet.context-path=/live --cluster.node.id=0 --spring.config.location=file:config/application.yml,file:config/global.properties --logging.config=file:config/log4j2.xml

注:--spring.config.location指定的可以是绝对路径也可以是classpath中的路径,--cluster.node.id指定节点编号



需要加上kafka相关jar依赖 https://github.com/Gerry-Pan/pan-reactive-kafka

<dependency>
  <groupId>cn.com.pan</groupId>
  <artifactId>pan-reactive-kafka</artifactId>
  <version>1.0</version>
</dependency>

Comments ( 0 )

Sign in for post a comment

About

reactive security,reactive mongodb,reactive websocket,reactor kafka spread retract
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
Java
1
https://git.oschina.net/pangerry/Live.git
git@git.oschina.net:pangerry/Live.git
pangerry
Live
Live
master

Search

153430 a91d09cc 1899542 180418 42a90fc8 1899542