Support internet dedicated line function Support customing API in document set Support configuring retry Support configuringplugins at the gateway group level Support grouping by service name in gateway group Support configuring empty steps without requests Support to configure JSON data in fixed values Support configuring HTTP status in aggregation Support configuring the gateway's error code field name and HTTP status when an error occurs Add global resource management and support refering global resource in aggregation Add format verification of the appID IP address whitelist Add replace/replaceAll/replaceFirst string functions Add rename and removeFields list functions Fix join list function issue that it will cause error while target list does not contain part of source list data Fix the issue that the gateway node with multiple IP addresses can not be matched
Fizz Gateway是什么?
An Aggregation API Gateway in Java . Fizz Gateway 是一个基于 Java开发的微服务聚合网关,能够实现热服务编排聚合、自动授权选择、线上服务脚本编码、在线测试、高性能路由、API审核管理、回调管理等目的,拥有强大的自定义插件系统可以自行扩展,并且提供友好的图形化配置界面,能够快速帮助企业进行API服务治理、减少中间层胶水代码以及降低编码投入、提高 API 服务的稳定性和安全性。
Fizz Gateway 2.4.0 发布,特色功能公网专线发布
v2.4.0
changelog:
支持公网专线功能
支持自定认文档集包含接口
支持配置重试
支持网关分组级别的插件
支持按服务名进行网关分组
支持配置没有请求的空步骤
支持在固定值里配置JSON数据
支持配置服务编排接口的HTTP状态码
支持配置网关的错误码字段名和发生错误时响应HTTP状态
新增公共资源管理并支持在服务编排里引用
新增appID的IP白名单的格式校验
新增replace/replaceAll/replaceFirst字符串函数
新增rename和removeFields列表函数
修复join列表函数因目标列表不包含源列表部分数据导致报错的问题
修复匹配不到有多个IP的网关节点问题
Support internet dedicated line function
Support customing API in document set
Support configuring retry
Support configuringplugins at the gateway group level
Support grouping by service name in gateway group
Support configuring empty steps without requests
Support to configure JSON data in fixed values
Support configuring HTTP status in aggregation
Support configuring the gateway's error code field name and HTTP status when an error occurs
Add global resource management and support refering global resource in aggregation
Add format verification of the appID IP address whitelist
Add replace/replaceAll/replaceFirst string functions
Add rename and removeFields list functions
Fix join list function issue that it will cause error while target list does not contain part of source list data
Fix the issue that the gateway node with multiple IP addresses can not be matched
Fizz Gateway是什么?
An Aggregation API Gateway in Java . Fizz Gateway 是一个基于 Java开发的微服务聚合网关,能够实现热服务编排聚合、自动授权选择、线上服务脚本编码、在线测试、高性能路由、API审核管理、回调管理等目的,拥有强大的自定义插件系统可以自行扩展,并且提供友好的图形化配置界面,能够快速帮助企业进行API服务治理、减少中间层胶水代码以及降低编码投入、提高 API 服务的稳定性和安全性。
演示环境(Demo)
http://demo.fizzgate.com/
账号/密码:
admin/Aa123!健康检查地址:http://demo.fizzgate.com/admin/health (线上版本请限制admin路径的外网访问)
API地址:http://demo.fizzgate.com/proxy/[服务名]/[API_Path]
Fizz的设计
Fizz典型应用场景
产品特性
基准测试
我们将Fizz与市面上主要的网关产品进行比较,使用相同的环境和条件,测试对象均为单个节点。Mock接口模拟20ms时延,报文大小约2K。
QPS
90% Latency(ms)
QPS
90% Latency(ms)
v2.4.1
v2.0.0
v2.2.9
v2.3.0
版本对照
Fizz-gateway-community: 社区版
Fizz-manager-professional:管理后台专业版(服务端)
Fizz-admin-professional:管理后台专业版(前端)
从v1.3.0开始管理后台的前端和服务端合并成一个包
Fizz-gateway-community: 社区版
Fizz-manager-professional:管理后台
请根据社区版的版本下载对应的管理后台版本
部署说明
详细部署教程>>>
安装依赖
安装以下依赖软件:
依赖的安装可参考详细部署教程
安装Fizz
一、安装管理后台
从github的releases(https://wj.qq.com/s2/8682608/8fe2/) 下载 fizz-manager-professional 安装包
管理后台(fizz-manager-professional)
说明:
{version}表示所使用管理后台的版本号,例如1.3.0。安装方式一:二进制安装包
fizz-manager-professional-{version}.zip安装包fizz-manager-professional-{version}-mysql.sql数据库脚本,从低版本升级至高版本选择执行update目录下对应升级脚本application-prod.yml文件,将相关配置修改成部署环境的配置chmod +x boot.sh命令给boot.sh增加执行权限;执行./boot.sh start命令启动服务,支持 start/stop/restart/status命令.\boot.cmd start命令启动服务,支持 start/stop/restart/status命令安装方式二(v2.0.0或以上版本):docker:
或通过映射目录方式使用外部配置文件和输出日志到宿主机, 配置文件可从安装包里获取,在宿主机创建fizz-manager-professional/config和fizz-manager-professional/logs目录,把application-prod.yml配置文件放置config下,在fizz-manager-professional目录下运行镜像
服务启动后访问 http://{部署机器IP地址}:8000/#/login,使用超级管理员账户
admin密码Aa123!登录二、安装fizz-gateway-community社区版
说明:
{version}表示所使用网关的版本号,例如1.3.0。安装方式一:二进制安装包
./boot.sh start命令启动服务,支持 start/stop/restart/status命令.\boot.cmd start命令启动服务,支持 start/stop/restart/status命令安装方式二:源码安装:
mvn clean package install -DskipTests=truemvn clean package -DskipTests=true./boot.sh start命令启动服务,支持 start/stop/restart/status命令安装方式三(v2.0.0或以上版本):docker:
或通过映射目录方式使用外部配置文件和输出日志到宿主机, 配置文件可从安装包或源码里获取,在宿主机创建fizz-gateway-community/config和fizz-gateway-community/logs目录,把application.yml和log4j2-spring.xml配置文件放置config下,在fizz-gateway-community目录下运行镜像
最后访问网关,地址形式为:http://127.0.0.1:8600/proxy/[服务名]/[API_Path]