Skip to content

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

Merged
spacewander merged 4 commits into
apache:masterfrom
qizhendong1:ch
Jul 28, 2022
Merged

feat(clickhouse-logger): support multi clickhouse endpoints#7517
spacewander merged 4 commits into
apache:masterfrom
qizhendong1:ch

Conversation

@qizhendong1

@qizhendong1 qizhendong1 commented Jul 21, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member

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

@qizhendong1
qizhendong1 force-pushed the ch branch 5 times, most recently from d79a56a to 7f2da81 Compare July 24, 2022 07:31
@qizhendong1

Copy link
Copy Markdown
Contributor Author

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

resolved

@qizhendong1
qizhendong1 marked this pull request as ready for review July 24, 2022 07:36
@qizhendong1 qizhendong1 changed the title feat(clickhouse-logger): support multi endpoints feat(clickhouse-logger): support multi clickhouse endpoints Jul 24, 2022
Comment thread apisix/plugins/clickhouse-logger.lua
Comment thread t/plugin/clickhouse-logger.t Outdated
Comment thread apisix/plugins/clickhouse-logger.lua Outdated
Comment thread docs/en/latest/plugins/clickhouse-logger.md
@qizhendong1
qizhendong1 requested a review from spacewander July 25, 2022 09:23
@qizhendong1
qizhendong1 force-pushed the ch branch 2 times, most recently from 5a46205 to a42c46f Compare July 25, 2022 13:32
@qizhendong1

Copy link
Copy Markdown
Contributor Author

Comment thread apisix/plugins/clickhouse-logger.lua
Comment thread docs/en/latest/plugins/clickhouse-logger.md Outdated
Comment thread docs/en/latest/plugins/clickhouse-logger.md Outdated
Comment thread t/plugin/clickhouse-logger.t Outdated
Comment thread apisix/plugins/clickhouse-logger.lua Outdated
Comment thread docs/en/latest/plugins/clickhouse-logger.md
@qizhendong1
qizhendong1 force-pushed the ch branch 2 times, most recently from 6319543 to fb03aca Compare July 27, 2022 05:40
Comment thread t/plugin/clickhouse-logger.t Outdated
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants