Skip to content

feat(cdc-source): check privilege on creating a CDC table #8470

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

Closed
fuyufjh opened this issue Mar 10, 2023 · 0 comments · Fixed by #8525
Closed

feat(cdc-source): check privilege on creating a CDC table #8470

fuyufjh opened this issue Mar 10, 2023 · 0 comments · Fixed by #8525
Assignees
Labels
type/feature Type: New feature.
Milestone

Comments

@fuyufjh
Copy link
Collaborator

fuyufjh commented Mar 10, 2023

Is your feature request related to a problem? Please describe.

About CDC connector, is it possible to detect this when creating the cdc source?

connector-node   | Caused by: org.postgresql.util.PSQLException: FATAL: must be superuser or replication role to start walsender

Otherwise, unless checking the logs, users will only see create table .. with connector='postgres_cdc' succeed but no data comes in. 🙁

Describe the solution you'd like

Detect this when creating the cdc source and throw an error to users.

Describe alternatives you've considered

No response

Additional context

No response

@fuyufjh fuyufjh added the type/feature Type: New feature. label Mar 10, 2023
@github-actions github-actions bot added this to the release-0.1.18 milestone Mar 10, 2023
@StrikeW StrikeW self-assigned this Mar 14, 2023
@StrikeW StrikeW closed this as completed Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Type: New feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants