-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Fix PreCommit Java IO Direct Job #36696
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -667,11 +667,8 @@ public boolean advance() throws IOException { | |
| try { | ||
| Message message; | ||
| synchronized (this) { | ||
| if (receiveTimeoutMillis == 0L) { | ||
| message = this.consumer.receiveNoWait(); | ||
| } else { | ||
| message = this.consumer.receive(receiveTimeoutMillis); | ||
| } | ||
| long timeout = (receiveTimeoutMillis == 0L) ? 1L : receiveTimeoutMillis; | ||
| message = this.consumer.receive(timeout); | ||
|
||
| // put add in synchronized to make sure all messages in preparer are in same session | ||
| if (message != null) { | ||
| checkpointMarkPreparer.add(message); | ||
|
|
||
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.
we need to add sdks/java/extensions/kafka-factories to the trigger path of https://github.com/apache/beam/blob/master/.github/workflows/beam_PreCommit_Java_IOs_Direct.yml that's why this wasn't captured
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.
Added