Biweekly Report (Jan 1 - Jan 16)

admin 69 2025-01-15 编辑

Biweekly Report (Jan 1 - Jan 16)

From 1.1 to 1.16, 29 contributors submitted 81 commits for Apache . Thank you all for your contributions to Apache .

Introduction​

Apache has grown as a community from the first day of open source and has quickly become the most active open source API gateway project in the world. These achievements cannot be achieved without the joint efforts of our community partners.

"If you want to go fast, go alone.If you want to go far, go together." The Apache Community Weekly Report hopes to help community members better understand the weekly progress of the Apache community and and facilitate everyone to participate in the Apache community.

We have also compiled some issues suitable for newcomers to the community to participate in! If you are interested, don't miss it!

Contributor Statistics​

Good first issue​

Issue #6078​

Link: https://github.com/apache//issues/6078

Issue description:

Use plugin redirect for http_to_https,the browser access unlimited 301.The reason I found is that our behind a proxy that responsed for decrypted the TLS and proxied always HTTP scheme to . Let's see the redirect plugin code:

if conf.http_to_https and ctx.var.scheme == "http" then-- ignoreend

It will makes the redirect loop apparently. The resolution is patching this plugin just like:

local proxy_proto = core.request.header(ctx, "x-forwarded-proto")local _scheme = proxy_proto and proxy_proto or ctx.var.schemeif conf.http_to_https and _scheme == "http" then-- ignoreend

Issue #5915​

Link: https://github.com/apache//issues/5915

Issue description:

Suppose I have two fields, include_resp_body as the switch, resp_limit_size as the limit size. After configuring these two parameters, if resp_body exceeds the size of resp_limit_size, resp_body will not be recorded in the log. The same is true for req_body.

We can truncate oversized request and response bodies based on limit size.

Highlights of Recent Features​

  • Support TLS over TCP upstream(Contributor: spacewander)

  • Support hide the authentication header in basic-auth with a config(Contributor: mangoGoForward)

  • Set proxy_request_buffering dynamically(Contributor: spacewander)

  • Mqtt supports load balancing by client id(Contributor: spacewander)

  • Add forward-auth plugin(Contributor: bzp2010)

  • Support gRPC-Web Proxy(Contributor: shuaijinchao)

  • limit-count supports sharing counters between requests(Contributor: spacewander)

The Apache project website and the Github issue have accumulated a wealth of documentation and experience, so if you encounter problems, you can read the documentation, search the issue with keywords, or participate in the discussion on the issue to put forward your own ideas and practical experience.

Recent Blog Recommendations​

  • Apache Integration with Kafka for Efficient Real-Time Log Monitoring:

    Apache has been providing support for Apache Kafka since version 1.2 with the kafka-logger plugin release. kafka-logger has been enhanced several times since then to provide very mature and complete functionality. It supports pushing API request logs, request bodies, and response bodies, to a Kafka cluster in JSON format.

  • Makes it More Convenient for You to Proxy Dubbo Services in Apache :

    In this article, we introduced how to use Apache to implement a proxy for Dubbo Service. By introducing the dubbo-proxy plugin, you can build a simpler and more efficient traffic link for the back-end system of Dubbo framework.

  • How to build Apache in ARM Ubuntu:

    By reading this article you will learn how to build Apache (M1 chip environment) in ARM Ubuntu from source code. The ARM Ubuntu system is installed with the help of https://multipass.run/.

  • Using the Apache proxy gRPC service:

    This article shows you how to proxy client HTTP traffic to the back-end gRPC service via the grpc-transcode plugin in Apache .

Biweekly Report (Jan 1 - Jan 16)

上一篇: Understanding the Significance of 3.4 as a Root in Mathematics
下一篇: Apache Meetup in Shanghai, welcome to register!
相关文章