-
Notifications
You must be signed in to change notification settings - Fork 0
Bug: fix NPE during assignment change #27
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
base: 1_0_2-20-cdc
Are you sure you want to change the base?
Conversation
Dockerfile
Outdated
| @@ -0,0 +1,16 @@ | |||
| FROM adoptopenjdk/openjdk8 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would create a "docker" directory and store this file inside that directory.
For the JDK, you could also use this image: "wayfair/maven-openjdk8:0.9.2"
| }); | ||
| _committingCheckpoint = checkpoint; | ||
| } | ||
| recordJdbcTaskMetrics(arrayRecords, METRIC_NUMBER_OF_ROWS_PROCESSED); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move to line 26 and add an else statement
| this.poll(); | ||
| } catch (Exception e) { | ||
| _logger.warn("Failed poll. {}", e); | ||
| _logger.warn("Failed poll. id: {}, url: {}, topic: {}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be "error" instead of "warm"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add data stream name into the logger.
r2d2li
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR includes the following changes: