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

[INLONG-5046][Agent] Support collect data from PostgreSQL #5367

Merged
merged 19 commits into from
Aug 17, 2022

Conversation

iamsee123
Copy link
Contributor

Prepare a Pull Request

Motivation

Add the collecting postgreSQL data function to agent module and provide the necessary management ability for manager module.

Modifications

  • PostgreSqlReader: read data from postgres by Debezium
  • PostgreSqlSource: PostgreSql source, split PostgreSql source job into multi readers
  • PostgreSqlSnapshotBase: postgres snapshot
  • SnapshotModeConstants: add some snapshot mode about postgres

Verifying this change

  • This change added tests and can be verified as follows:
  • add the Unit test of PostgreSqlReader in TestPostgresReader
  • add the Unit test of PostgreSqlSnapshotBase in TestPostgresOffsetManager

@dockerzhang dockerzhang requested a review from EMsnap August 9, 2022 11:06
@dockerzhang
Copy link
Contributor

@haibo-duan PTAL, thanks.

… postgreSQL and add annotation on PostgreSQLReaderTest.java method postgresLoadTest
Copy link
Member

@healchow healchow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dockerzhang dockerzhang merged commit e11d7d8 into apache:master Aug 17, 2022
@iamsee123 iamsee123 deleted the INLONG-5046 branch August 17, 2022 06:15
rhizoma-atractylodis pushed a commit to rhizoma-atractylodis/inlong that referenced this pull request Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature][Agent] Support collect data from PostgreSQL
4 participants