关于apisix:Apache-APISIX-社区双周报-11151130-功能亮点更新进行中

5次阅读

共计 2973 个字符,预计需要花费 8 分钟才能阅读完成。

导语

Apache APISIX 从开源第一天就以社区形式成长,迅速成为全世界最沉闷的开源 API 网关我的项目。这些成就,离不开社区小伙伴们的共同奋斗。

“独行者速,众行者远”。Apache APISIX 社区周报心愿能够帮忙社区小伙伴们更好地把握 Apache APISIX 社区的停顿,不便大家参加到 Apache APISIX 社区中来。

咱们还整顿了一些适宜新来社区的小伙伴们加入的 Issue!感兴趣的同学们,走过路过不要错过!

贡献者统计

Good First Issue

Issue #5451

链接:

https://github.com/apache/api…

问题形容:

Nginx 自带的响应内容替换库能够替换部分内容,如下:(http://nginx.org/en/docs/http…\_http\_sub\_module.html)

sub_filter '<a href="http://127.0.0.1:8080/''<a href="https://$host/';

有个反对正则替换的库(印象中 Openresty 已默认反对):ngx\_http\_substitutions\_filter\_module,能够通过正则表达式来替换内容:

subs_filter_types text/html text/css text/xml;
subs_filter st(\d*).example.com $1.example.com ir;
subs_filter a.example.com s.example.com;
subs_filter http://$host https://$host;

然而 APISIX 的 response-rewrite 插件文档,如同只能反对残缺替换,相当于间接将所有响应都换成插件设置的返回,并不反对局部内容替换:

curl http://127.0.0.1:9080/apisix/admin/routes/1  -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '{"methods": ["GET"],"uri":"/test/index.html","plugins": {"response-rewrite": {"body":"{\"code\":\"ok\",\"message\":\"new json body\"}","headers": {"X-Server-id": 3,"X-Server-status":"on","X-Server-balancer_addr":"$balancer_ip:$balancer_port"},"vars":[[ "status","==","200"]
            ]
        }
    },
    "upstream": {
        "type": "roundrobin",
        "nodes": {"127.0.0.1:80": 1}
    }
}'

这个插件是否反对局部替换或正则替换?如果不反对,APISIX 有没有其余解决方案呢?

Issue #5647

链接:

https://github.com/apache/api…

问题形容: 以后文档提供了在 CentOS7 上间接应用 RPM 装置 APISIX 的办法,然而以后 APISIX 曾经将依赖切换为 apisix-base 版本,没有提供 RPM 装置办法,会导致装置失败。

是否能够增加用于装置 apisix-base 的 RPM 的命令。

近期性能个性亮点

kafka-logger 反对记录申请体

相干 PR

https://github.com/apache/api…

贡献者 :windyrjc

新增 azure-functions 插件,与 Azure Serverless Function 无缝集成

相干 PR

https://github.com/apache/api…

贡献者 :bisakhmondal

WASM 插件反对在 header\_filter 阶段运行

相干 PR

https://github.com/apache/api…

贡献者 :spacewander

新增 google-cloud-logging 插件,用于推送日志到 Google Cloud logging Service

相干 PR

https://github.com/apache/api…

贡献者 :shuaijinchao

新增 openwhisk 插件,与 Apache OpenWhisk serverless 平台集成 **

相干 PR

https://github.com/apache/api…

贡献者 :bzp2010

kafka-logger 和 http 反对记录响应体

相干 PR

https://github.com/apache/api…

贡献者 :dmsolr

在 APISIX Ingress 中对于 HTTPS 和 gRPCs 类型的 upstream 丰盛了 mTLS 的反对

相干 PR

https://github.com/apache/api…

贡献者 :nic-6443

Apache APISIX 的我的项目官网和 Github 上的 Issue 上曾经积攒了比拟丰盛的文档教程和应用教训,如果您遇到问题能够翻阅文档,用关键词在 Issue 中搜寻,也能够参加 Issue 上的探讨,提出本人的想法和实践经验。

近期博文举荐

Apache APISIX 2.11.0 正式公布,蓄力两月带来更多新性能!

Apache APISIX 2.11.0 版本是继上次 2.10.0 LTS 版本公布后,第一个带有新性能的版本。不仅丰盛了插件库,还带来了陈腐的生态反对。

APISIX-Datadog 插件公布,助力用户进步零碎的可观测性

Apache APISIX 最近公布了一个新的插件:APISIX-Datadog,以提供与 Datadog 监控平台的集成。本文介绍了 APISIX-Datadog 插件的实现原理及性能。

如何与 Dapr 集成打造 Apache APISIX 网关控制器

本文将为大家展现如何通过集成 Dapr 创立一个 Apache APISIX 控制器,该控制器在 Kubernetes 集群中会公开启用 Dapr 的应用程序。

云原生时代:看 Apache APISIX 如何玩转可观测性

本文介绍了 Apache APISIX 的可观测性能力以及如何通过 Apache SkyWalking 晋升 Apache APISIX 的可观测性能力。

Apache APISIX Ingress 为何成为又拍云打造容器网关的新抉择?

本文介绍了又拍云抉择 Apache APISIX Ingress 后所带来公司外部网关架构的更新与调整,同时分享了在应用过程中的一些实际场景介绍。

对于 Apache APISIX

Apache APISIX 是一个动静、实时、高性能的开源 API 网关,提供负载平衡、动静上游、灰度公布、服务熔断、身份认证、可观测性等丰盛的流量治理性能。Apache APISIX 能够帮忙企业疾速、平安地解决 API 和微服务流量,包含网关、Kubernetes Ingress 和服务网格等。

Apache APISIX 落地用户(仅局部)

  • Apache APISIX GitHub:https://github.com/apache/apisix
  • Apache APISIX 官网:https://apisix.apache.org/
  • Apache APISIX 文档:https://apisix.apache.org/zh/…
正文完
 0