Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(clickhouse-logger): support multi clickhouse endpoints #7517

Merged
merged 4 commits into from
Jul 28, 2022

Conversation

zhendongcmss
Copy link
Contributor

@zhendongcmss zhendongcmss commented Jul 21, 2022

Description

When the apisix load is heavy, there are many access logs, and the endpoint load of a single clickhouse is too heavy. The clickhouse-alogger plugin supports multiple endpoints to share the load.

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)
@tzssangglass
Copy link
Member

files conflict, pls rebase the upstream master to your PR branch.

@zhendongcmss
Copy link
Contributor Author

files conflict, pls rebase the upstream master to your PR branch.

resolved

@zhendongcmss zhendongcmss marked this pull request as ready for review July 24, 2022 07:36
@zhendongcmss zhendongcmss changed the title feat(clickhouse-logger): support multi endpoints Jul 24, 2022
apisix/plugins/clickhouse-logger.lua Show resolved Hide resolved
t/plugin/clickhouse-logger.t Outdated Show resolved Hide resolved
@spacewander spacewander merged commit f0a8355 into apache:master Jul 28, 2022
Liu-Junlin pushed a commit to Liu-Junlin/apisix that referenced this pull request Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants