Skip to content

DBZ-8003 Postgres Connector throw exception from keepAliveExecutor#5802

Open
loserwang1024 wants to merge 1 commit intodebezium:mainfrom
loserwang1024:DBZ-8003
Open

DBZ-8003 Postgres Connector throw exception from keepAliveExecutor#5802
loserwang1024 wants to merge 1 commit intodebezium:mainfrom
loserwang1024:DBZ-8003

Conversation

@loserwang1024
Copy link

As discribe in https://issues.redhat.com/browse/DBZ-8003 , postgres Connector throw exception from keepAliveExecutor

@github-actions
Copy link

Welcome as a new contributor to Debezium, @loserwang1024. Reviewers, please add missing author name(s) and alias name(s) to the COPYRIGHT.txt and Aliases.txt respectively.

Comment on lines +726 to +737
LOGGER.error(
"received unexpected exception will perform keep alive",
exp);
keepAliveException = exp;
}

try {
metronome.pause();
}
catch (InterruptedException e) {
LOGGER.warn(
"Keep alive thread has already be shutdown.");
Copy link
Member

Choose a reason for hiding this comment

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

This formatting for LOGGER does not really conform to the remainder of the code base.
Would you please align those to be on a single line each, thanks!.

@Naros
Copy link
Member

Naros commented Jan 6, 2026

❌ Developer Certificate of Origin (DCO) check failed.

Hi @loserwang1024, please sign off all commits with:

git commit -s

If pull request commits are not signed off, the pull request cannot be merged. For more information about why this is required, please see our blog about contribution requirement changes.

@github-actions
Copy link

❌ Developer Certificate of Origin (DCO) check failed.

Hi @loserwang1024, please sign off all commits with:

git commit -s

If pull request commits are not signed off, the pull request cannot be merged. For more information about why this is required, please see our blog about contribution requirement changes.

final PGReplicationStream stream = s;

return new ReplicationStream() {
return new ReplicationStream() {keepAliveRunning
Copy link
Contributor

Choose a reason for hiding this comment

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

IMHO this is syntax error


private void checkKeepAliveException() {
if (keepAliveException != null) {
throw new RuntimeException("received unexpected exception will perform keep alive", keepAliveException);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
throw new RuntimeException("received unexpected exception will perform keep alive", keepAliveException);
throw new DebeziumException("Received unexpected exception will perform keep alive", keepAliveException);

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