Giter VIP home page Giter VIP logo

leaning-demo's Introduction

leaning-demo

研究新技术、记录新想法

# 主要框架
SpringBoot 3.1.1
SpringCloud 2022.0.3
SpringCloudAlibaba 2022.0.0.0
# 注册中心
Consul 1.15.4
Nacos 2.2.1
Eureka 2.0.0

主要内容

一、设计模式

二、互联网相关

不同方式实现订单超时案例

基于EasyExcel实现Excel导入导出案例

基于spring状态机实现订单状态的自动切换案例

关于文件的零拷贝实现(有测试用例)

三、物联网相关

Netty案例

消息队列案例

数据库案例

对接硬件相关案例

四、微服务相关

本项目启动步骤

  1. 必须安装jdk17+版本,因为代码中用到了新特性
  2. 推荐使用IntelliJ IDEA工具,因为简单易用
  3. Maven用IntelliJ IDEA自带的就行,它会根据你的项目自动适配最合适的版本
  4. File -> Project Structure -> Project,在这里将SDK选择17,再将Language level选择17,最后点击OK
  5. File -> Setting -> Build,Execution,Deployment -> Build Tools -> Maven -> Importing,在这里将JDK for importer设置为17,最后点击OK
  6. File -> Setting -> Build,Execution,Deployment -> Build Tools -> Maven -> Runner,在这里将JRE设置为17,最后点击OK
  7. 到这里设置一切就绪,最后只需要刷新一下Maven后,等着将依赖下载完成,项目即可正常运行

注意:Maven千万别修改成国内镜像,能科学就科学,不能科学就乖乖等。很多依赖国内镜像没有,别自找麻烦哈

端口维护

9012	chain-of-responsibility-pattern
9005	strategy-pattern
9009	easyexcel
9023	jakarta-websocket-client
9022	jakarta-websocket-server
9020	mongodb
9021	netty-websocket
9015	rocketmq
9010	sentinel-client
9011	sentinel-server
9000	gateway-server
9003	grpc-client
9004	grpc-server
9016	mqtt-publish-a
9017	mqtt-publish-b
9002	openfeign-client
9001	openfeign-server
9006    rabbitmq
9007    serial-port
9008    ping-ip
9013    statemachine
9014    file
9024    netty-mqtt
9025    netty-mqtt web
9026    sse
9027    netty-udp-client web
9028    netty-udp-server
9029    netty-tcp-client web
9030    netty-tcp-server

leaning-demo's People

Contributors

luckykuang avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.