Kong v0.8.3 发布
jopen 8年前
<p> </p> <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/22cdaab266499458882a505cb199be22.png" /></p> <p> </p> <p>Kong是在客户端和(微)服务间转发API通信的API网关,通过插件扩展功能。Kong有两个主要组件:</p> <ul> <li>Kong Server :基于nginx的服务器,用来接收API请求。</li> <li>Apache Cassandra :用来存储操作数据。</li> </ul> <p>你可以通过增加更多Kong Server机器对Kong服务进行水平扩展,通过前置的负载均衡器向这些机器分发请求。根据文档描述,两个Cassandra节点就足以支撑绝大多数情况,但如果网络非常拥挤,可以考虑适当增加更多节点。</p> <p>对于开源社区来说,Kong 中最诱人的一个特性是可以通过插件扩展已有功能,这些插件在 API 请求响应循环的生命周期中被执行。插件使用 Lua 编写,而且 Kong 还有如下几个基础功能:</p> <ul> <li> HTTP 基本认证</li> <li> 密钥认证</li> <li> CORS( Cross-origin Resource Sharing,跨域资源共享)</li> <li> TCP/UDP</li> <li> 文件日志</li> <li> API 请求限流</li> <li> 请求转发</li> <li> nginx 监控</li> </ul> <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/8cc1737a2b0ff1e31dcec627751ec625.png" /> </p> <h2>更新日志</h2> <h3>Changed</h3> <ul> <li>Switched the log level of the "No nodes found in cluster" warning to <code>INFO</code>, that was printed when starting up the first Kong node in a new cluster.</li> <li>Kong now requires OpenResty <code>1.9.7.5</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>New nodes are now properly registered into the <code>nodes</code> table when running on the same machine. <a href="/misc/goto?guid=4958991129709882794">#1281</a></li> <li>Fixed a failed error parsing on Postgres. <a href="/misc/goto?guid=4958991129835825582">#1269</a></li> <li>Plugins: <ul> <li>Response Transformer: Slashes are now encoded properly, and fixed a bug that hang the execution of the plugin.<a href="/misc/goto?guid=4958991129954206919">#1257</a> and <a href="/misc/goto?guid=4958991130066931721">#1263</a></li> <li>JWT: If a value for <code>algorithm</code> is missing, it's now <code>HS256</code> by default. This problem occured when migrating from older versions of Kong.</li> <li>OAuth 2.0: Fixed a Postgres problem that was preventing an application from being created, and fixed a check on the <code>redirect_uri</code> field. <a href="/misc/goto?guid=4958991130184366022">#1264</a> and <a href="/misc/goto?guid=4958991130287667099">#1267</a></li> </ul> </li> </ul> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4958991130404285213" rel="nofollow">14.9 MB<strong>kong-0.8.3.aws.rpm</strong></a></li> <li><a href="/misc/goto?guid=4958991130525295964" rel="nofollow">14.9 MB<strong>kong-0.8.3.el5.noarch.rpm</strong></a></li> <li><a href="/misc/goto?guid=4958991130646003580" rel="nofollow">15.7 MB<strong>kong-0.8.3.el6.noarch.rpm</strong></a></li> <li><a href="/misc/goto?guid=4958991130760407997" rel="nofollow">16.3 MB<strong>kong-0.8.3.el7.noarch.rpm</strong></a></li> <li><a href="/misc/goto?guid=4958991130870386001" rel="nofollow">16.3 MB<strong>kong-0.8.3.jessie_all.deb</strong></a></li> <li><a href="/misc/goto?guid=4958991130987605093" rel="nofollow">12.1 MB<strong>kong-0.8.3.osx.pkg</strong></a></li> <li><a href="/misc/goto?guid=4958991131097616302" rel="nofollow">15.9 MB<strong>kong-0.8.3.precise_all.deb</strong></a></li> <li><a href="/misc/goto?guid=4958991131211966262" rel="nofollow">16.4 MB<strong>kong-0.8.3.trusty_all.deb</strong></a></li> <li><a href="/misc/goto?guid=4958991131331236597" rel="nofollow">16.4 MB<strong>kong-0.8.3.vivid_all.deb</strong></a></li> <li><a href="/misc/goto?guid=4958991131446824377" rel="nofollow">16.6 MB<strong>kong-0.8.3.wheezy_all.deb</strong></a></li> <li><a href="/misc/goto?guid=4958991131552638965" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958991131674685841" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <h2> </h2>