Kong v0.9.2 发布
jopen 8年前
<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> </p> <p><a href="https://simg.open-open.com/show/8cc1737a2b0ff1e31dcec627751ec625.png"><img alt="" src="https://simg.open-open.com/show/8cc1737a2b0ff1e31dcec627751ec625.png" /></a></p> <p> </p> <p> </p> <h2>更新日志</h2> <ul> <li>Correctly report migrations errors. This was caused by an error being thrown from the error handler, and superseding the actual error. <a href="/misc/goto?guid=4958993934878639948">#1605</a></li> <li>Prevent Kong from silently failing to start. This would be caused by an erroneous error handler. <a href="/misc/goto?guid=4958993935009375914">28f5d10</a></li> <li>Only report a random number generator seeding error when it is not already seeded. <a href="/misc/goto?guid=4958993935131225268">#1613</a></li> <li>Reduce intra-cluster noise by not propagating keepalive requests events. <a href="/misc/goto?guid=4958993935254725204">#1660</a></li> <li>Admin API: <ul> <li>Obfuscates sensitive configuration settings from the <code>/</code> route. <a href="/misc/goto?guid=4958993935382566515">#1650</a></li> </ul> </li> <li>CLI: <ul> <li>Prevent a failed <code>kong start</code> to stop an already running Kong node. <a href="/misc/goto?guid=4958993935504883487">#1645</a></li> <li>Remove unset configuration placeholders from the nginx configuration template. This would occur when no Internet connection would be available and would cause Kong to compile an erroneous nginx config. <a href="/misc/goto?guid=4958993935635468649">#1606</a></li> <li>Properly count the number of executed migrations. <a href="/misc/goto?guid=4958993935751338318">#1649</a></li> </ul> </li> <li>Plugins: <ul> <li>OAuth2: remove the "Kong" mentions in missing <code>provision_key</code> error messages. <a href="/misc/goto?guid=4958993935868858220">#1633</a></li> <li>OAuth2: allow to correctly delete applications when using Cassandra. <a href="/misc/goto?guid=4958993935986707668">#1659</a></li> <li>galileo: provide a default <code>bodySize</code> value when <code>log_bodies=true</code> but the current request/response has no body.<a href="/misc/goto?guid=4958993936120092876">#1657</a></li> </ul> </li> </ul> <p> </p> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4958993936237637602" rel="nofollow"><strong>kong-0.9.2.aws.rpm</strong></a></li> <li><a href="/misc/goto?guid=4958993936351364269" rel="nofollow"><strong>kong-0.9.2.el6.noarch.rpm</strong></a></li> <li><a href="/misc/goto?guid=4958993936482436966" rel="nofollow"><strong>kong-0.9.2.el7.noarch.rpm</strong></a></li> <li><a href="/misc/goto?guid=4958993936595203584" rel="nofollow"><strong>kong-0.9.2.jessie_all.deb</strong></a></li> <li><a href="/misc/goto?guid=4958993936720191522" rel="nofollow"><strong>kong-0.9.2.osx.pkg</strong></a></li> <li><a href="/misc/goto?guid=4958993936853576095" rel="nofollow"><strong>kong-0.9.2.precise_all.deb</strong></a></li> <li><a href="/misc/goto?guid=4958993936978902369" rel="nofollow"><strong>kong-0.9.2.trusty_all.deb</strong></a></li> <li><a href="/misc/goto?guid=4958993937100653354" rel="nofollow"><strong>kong-0.9.2.vivid_all.deb</strong></a></li> <li><a href="/misc/goto?guid=4958993937230319670" rel="nofollow"><strong>kong-0.9.2.wheezy_all.deb</strong></a></li> <li><a href="/misc/goto?guid=4958993937350180192" rel="nofollow"><strong>kong-0.9.2.xenial_all.deb</strong></a></li> <li><a href="/misc/goto?guid=4958993937477967363" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958993937602917251" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <p> </p> <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/5fa66245">http://www.open-open.com/news/view/5fa66245</a></p>