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

[Bug][Audit] Not initialized the service before ClickHouse starts #6069

Closed
2 tasks done
gosonzhang opened this issue Sep 30, 2022 · 0 comments · Fixed by #6070
Closed
2 tasks done

[Bug][Audit] Not initialized the service before ClickHouse starts #6069

gosonzhang opened this issue Sep 30, 2022 · 0 comments · Fixed by #6070
Assignees
Labels
component/audit type/bug Something is wrong
Milestone

Comments

@gosonzhang
Copy link
Contributor

What happened

Since the ClickHouse service is not initialized[1], when initializing BaseConsume, BaseConsume.handleMessage() outputs a null pointer exception[2]

  1. https://github.com/apache/inlong/blob/master/inlong-audit/audit-store/src/main/java/org/apache/inlong/audit/service/AuditMsgConsumerServer.java#L90

  2. https://github.com/apache/inlong/blob/master/inlong-audit/audit-store/src/main/java/org/apache/inlong/audit/service/consume/BaseConsume.java#L59
    企业微信截图_16644496255863

What you expected to happen

no null exception

How to reproduce

configure ClickHouse and run

Environment

Linux

InLong version

master

InLong Component

InLong Audit

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@gosonzhang gosonzhang added the type/bug Something is wrong label Sep 30, 2022
@gosonzhang gosonzhang self-assigned this Sep 30, 2022
@healchow healchow added this to the 1.4.0 milestone Sep 30, 2022
@healchow healchow changed the title [Bug][Audit] Not initialized before clickhouse starts [Bug][Audit] Not initialized the service before ClickHouse starts Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/audit type/bug Something is wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants