Kong v0.8.2 發布
Kong是在客戶端和(微)服務間轉發API通信的API網關,通過插件擴展功能。Kong有兩個主要組件:
- Kong Server :基于nginx的服務器,用來接收API請求。
- Apache Cassandra :用來存儲操作數據。
你可以通過增加更多Kong Server機器對Kong服務進行水平擴展,通過前置的負載均衡器向這些機器分發請求。根據文檔描述,兩個Cassandra節點就足以支撐絕大多數情況,但如果網絡非常擁擠,可以考慮適當增加更多節點。
對于開源社區來說,Kong 中最誘人的一個特性是可以通過插件擴展已有功能,這些插件在 API 請求響應循環的生命周期中被執行。插件使用 Lua 編寫,而且 Kong 還有如下幾個基礎功能:
- HTTP 基本認證
- 密鑰認證
- CORS( Cross-origin Resource Sharing,跨域資源共享)
- TCP/UDP
- 文件日志
- API 請求限流
- 請求轉發
- nginx 監控
更新日志
新增
- Support for a simple slash in
request_path
. #1227 - Plugins:
- Response Rate Limiting: it now appends usage headers to the upstream requests in the form of
X-Ratelimit-Remaining-{limit_name}
and introduces a newconfig.block_on_first_violation
property. #1235
改進
- Plugins:
- Mashape Analytics: The plugin is now called "Galileo", and added support for Galileo v3.#1159
bug修復
- Postgres now relies on the
search_path
configured on the database and its default value$user, public
. #1196 - Kong now properly encodes an empty querystring parameter like
?param=
when proxying the request. #1210 - The configuration now checks that
cluster.ttl_on_failure
is at least 60 seconds. #1199 - Plugins:
- Loggly: Fixed an issue that was triggering 400 and 500 errors. #1184
- JWT: The
TYP
value in the header is not optional and case-insensitive. #1192 - Request Transformer: Fixed a bug when transforming request headers. #1202
- OAuth 2.0: Multiple redirect URIs are now supported. #1112
- IP Restriction: Fixed that prevented the plugin for working properly when added on an API.#1245
- CORS: Fixed an issue when
config.preflight_continue
was enabled. #1240
下載
- 14.8 MBkong-0.8.2.aws.rpm
- 14.9 MBkong-0.8.2.el5.noarch.rpm
- 15.7 MBkong-0.8.2.el6.noarch.rpm
- 16.3 MBkong-0.8.2.el7.noarch.rpm
- 16.3 MBkong-0.8.2.jessie_all.deb
- 12.1 MBkong-0.8.2.osx.pkg
- 15.9 MBkong-0.8.2.precise_all.deb
- 16.4 MBkong-0.8.2.trusty_all.deb
- 16.4 MBkong-0.8.2.vivid_all.deb
- 16.6 MBkong-0.8.2.wheezy_all.deb
- Source code (zip)
- Source code (tar.gz)
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!
- Response Rate Limiting: it now appends usage headers to the upstream requests in the form of