# bboss-http **Repository Path**: DimonHo/bboss-http ## Basic Information - **Project Name**: bboss-http - **Description**: bboss-http是一个简单而功能强大的http/https负载均衡器,基于http/https协议实现客户端-服务端点到点的负载均衡和集群容灾功能,采用java语言开发 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://esdoc.bbossgroups.com/#/httpproxy - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 7 - **Created**: 2023-05-30 - **Last Updated**: 2023-05-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 版本构建方法 gradle clean publishToMavenLocal 需要通过gradle构建发布版本,gradle安装配置参考文档: https://esdoc.bbossgroups.com/#/bboss-build # bboss httpproxy bboss http project. 包含的功能有: http连接池 http服务调用组件-HttpRequestUtil http负载均衡组件-HttpRequestProxy 使用参考文档https://esdoc.bbossgroups.com/#/httpproxy 负载均衡组件特点: 1.服务负载均衡(目前提供RoundRobin负载算法) 2.服务健康检查 3.服务容灾故障恢复 4.服务自动发现(zk,etcd,consul,eureka,db,其他第三方注册中心) 5.路由规则动态切换 5.分组服务管理 可以配置多组服务集群地址,每一组地址清单支持的配置格式: http://ip:port https://ip:port ip:port(默认http协议) 多个地址用逗号分隔 6.服务安全认证(配置basic账号和口令) 7.主备路由/异地灾备特色 负载均衡器主备功能开发,如果主节点全部挂掉,请求转发到可用的备用节点,如果备用节点也挂了,就抛出异常,如果主节点恢复正常,那么请求重新发往主节点 # 开发文档 https://esdoc.bbossgroups.com/#/httpproxy httpproxy 案例:基于apollo进行配置管理、节点自动发现、路由规则自动切换,源码地址如下      https://gitee.com/bboss/httpproxy-apollo      https://github.com/bbossgroups/httpproxy-apollo # License The BBoss Framework is released under version 2.0 of the [Apache License][]. [Apache License]: http://www.apache.org/licenses/LICENSE-2.0 # todo