Skip to content

Latest commit

 

History

History
54 lines (31 loc) · 1.74 KB

GSoC2022-Summary.md

File metadata and controls

54 lines (31 loc) · 1.74 KB

logging-elasticsearch-plugin-summary

Problem description

Apache Shenyu is an asynchronous, high-performance, cross language, responsive API gateway.It can support multiple languages, has built-in rich plugins, has flexible traffic filtering, and supports observability, so as to make the micro service run stably.The observable part is mainly composed of metrics,tracing and logging.In the field of logging, Apache Shenyu uses the form of plugins to obtain log records related to requests and responses.When calling the target service, Apache Shenyu gateway allows users to use the logging plugin to print request information in the log, including request path, request method, request parameters, response header, response body and other information.Apache Shenyu supports the use of elasticsearch, Kafka and rocketmq to obtain gateway log information, but at present, it can only support the use of rocketmq to obtain gateway log information.Therefore, the problem to be solved this time is to add the logging elasticsearch plugin module to support the acquisition of Apache Shenyu gateway log information, and then write it into elasticsearch and display it.

Main PR link

loggingElasticSearch plugin

unit test

integrated test

doc

Repair of some problems

add dependency license

fix thread pool