All Projects → fallsea → Spring Boot Starter Motan

fallsea / Spring Boot Starter Motan

Licence: apache-2.0
motan 基于spring boot 开发框架

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Spring Boot Starter Motan

Spring Boot React Maven Starter
A multi module Spring Boot React starter for building real-world enterprises apps
Stars: ✭ 90 (-10%)
Mutual labels:  spring-boot
Eureka Consul Adapter
This project contains a Spring Boot Starter that registers HTTP endpoints on a Spring Cloud Eureka server to support Prometheus's service discovery mechanism for Consul (<consul_sd_config>)
Stars: ✭ 93 (-7%)
Mutual labels:  spring-boot
Kogito Examples
Kogito examples - Kogito is a cloud-native business automation technology for building cloud-ready business applications.
Stars: ✭ 96 (-4%)
Mutual labels:  spring-boot
Jplusone
Tool for automatic detection and asserting "N+1 SELECT problem" occurences in JPA based Spring Boot Java applications and finding origin of JPA issued SQL statements in general
Stars: ✭ 91 (-9%)
Mutual labels:  spring-boot
Spring Boot Angular Example
Example app showing how to build a Spring Boot REST API and Angular UI
Stars: ✭ 92 (-8%)
Mutual labels:  spring-boot
Limiter
一个注解使你的SpringBoot项目获得分布式锁和限流器能力
Stars: ✭ 93 (-7%)
Mutual labels:  spring-boot
Weixin Java Mp Demo
基于Spring Boot 和 WxJava 实现的微信公众号Java后端Demo,支持多公众号
Stars: ✭ 1,291 (+1191%)
Mutual labels:  spring-boot
Ng Boot Oauth
oauth2 demo with angularjs and springboot
Stars: ✭ 99 (-1%)
Mutual labels:  spring-boot
Nutz Onekey
NUTZ一键脚手架
Stars: ✭ 92 (-8%)
Mutual labels:  spring-boot
Yorubaname Website
Source code for YorubaName dictionary
Stars: ✭ 95 (-5%)
Mutual labels:  spring-boot
Reactjs Spring Boot Crud Full Stack App
Learn how to develop a full-stack CRUD application using React as frontend and spring boot as backend.
Stars: ✭ 90 (-10%)
Mutual labels:  spring-boot
Reactive Spring Security 5 Workshop
Hands-On workshop for securing a reactive spring boot 2 application in multiple steps
Stars: ✭ 92 (-8%)
Mutual labels:  spring-boot
Spring Security React Ant Design Polls App
Full Stack Polls App built using Spring Boot, Spring Security, JWT, React, and Ant Design
Stars: ✭ 1,336 (+1236%)
Mutual labels:  spring-boot
Febs Cloud
基于Spring Cloud Hoxton.RELEASE、Spring Cloud OAuth2 & Spring Cloud Alibaba & Element 微服务权限系统,开箱即用。预览地址:https://cloud.mrbird.cn
Stars: ✭ 1,295 (+1195%)
Mutual labels:  spring-boot
Springbootdemo
springBoot demo
Stars: ✭ 97 (-3%)
Mutual labels:  spring-boot
Freeacs
(Seeking maintainer) Free TR-069 ACS that can run (mostly) anywhere.
Stars: ✭ 90 (-10%)
Mutual labels:  spring-boot
Radar Covid Backend Dp3t Server
DP^3T Radar COVID fork
Stars: ✭ 94 (-6%)
Mutual labels:  spring-boot
Springboot Templates
springboot和dubbo、netty的集成,redis mongodb的nosql模板, kafka rocketmq rabbit的MQ模板, solr solrcloud elasticsearch查询引擎
Stars: ✭ 100 (+0%)
Mutual labels:  spring-boot
Sample Boot Hibernate
Spring Boot + JPA ( Hibernate ) + Java8 [ DDD Sample ]
Stars: ✭ 97 (-3%)
Mutual labels:  spring-boot
Springbootsample
spring boot sample source
Stars: ✭ 95 (-5%)
Mutual labels:  spring-boot

spring boot motan

License

GitHub下载
码云下载

项目介绍

基于spring boot motan 整合demo(支持异步和同步调用),motan配置信息存放在application.yml中,详细配置请参考官网配置清单 此demo基于zookeeper 注册中心,如果要直接启动,需要安装zookeeper,也可以更改为其他注册中心测试

项目结构

spring-boot-starter-motan
├── fallsea-motan-client -- 客户端通用配置
├── fallsea-motan-server -- 服务端通用配置
├── fallsea-motan-demo -- demo 示例
|    ├── fallsea-motan-api-demo -- api 示例
|    ├── fallsea-motan-client-demo -- 客户端调用示例
|    ├── fallsea-motan-server-demo -- 服务端示例

服务端

启动类 MotanServer
配置说明,详细配置请参考官网配置清单

fallsea :
    motan :
        #注册中心配置
        registry :
            regProtocol : zookeeper #注册中心协议
            address : 127.0.0.1:2181 #注册中心地址
            requestTimeout : 1000 #注册中心连接超时时间(毫秒)
            connectTimeout : 3000 #注册中心请求超时时间(毫秒)
        #协议配置
        protocol :
            name : motan #协议名称
            minWorkerThread : 20 #最小工作pool线程数
            maxWorkerThread : 50 #最大工作pool线程数
            filter : statistic
        #指定需要解析的包名
        annotation :
            package : com.fallsea.demo
        #服务端配置
        server :
            export :  'fallseaMotan:9999' #服务端口
            group : fallsea
            registry : fallseaRegistryConfig

客户端

启动类 MotanClientWeb
客户端测试地址:http://localhost:8080/hello/fallsea
配置说明,详细配置请参考配置清单

fallsea :
    motan :
        #注册中心配置
        registry :
            regProtocol : zookeeper #注册中心协议
            address : 127.0.0.1:2181 #注册中心地址
            requestTimeout : 1000 #注册中心连接超时时间(毫秒)
            connectTimeout : 3000 #注册中心请求超时时间(毫秒)
        #协议配置
        protocol :
            name : motan #协议名称
            minWorkerThread : 20 #最小工作pool线程数
            maxWorkerThread : 50 #最大工作pool线程数
            filter : statistic
        #指定需要解析的包名
        annotation :
            package : com.fallsea.demo
        #客户端配置
        client :
            protocol : fallseaMotan
            group : fallsea
            check : false
            requestTimeout : 3000 #请求超时时间(毫秒)
            connectTimeout : 5000 #连接超时时间(毫秒)
            registry : fallseaRegistryConfig
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].