beam icon indicating copy to clipboard operation
beam copied to clipboard

added custom watermark for kinesis reader

Open sjmittal opened this issue 1 year ago • 48 comments

The PR is for attempted fix of the issue #28760


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • [x] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • [ ] Update CHANGES.md with noteworthy changes.
  • [ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels Python tests Java tests Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

sjmittal avatar Oct 02 '23 06:10 sjmittal

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

github-actions[bot] avatar Oct 02 '23 07:10 github-actions[bot]

@sjmittal what are next steps here? It looks like currently this PR is not compiling

damccorm avatar Oct 27 '23 14:10 damccorm

Assigning reviewers. If you would like to opt out of this review, comment assign to next reviewer:

R: @Abacn for label java. R: @johnjcasey for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

github-actions[bot] avatar Oct 27 '23 18:10 github-actions[bot]

Reminder, please take a look at this pr: @Abacn @johnjcasey

github-actions[bot] avatar Nov 04 '23 12:11 github-actions[bot]

Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:

R: @robertwb for label java. R: @ahmedabu98 for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

github-actions[bot] avatar Nov 08 '23 12:11 github-actions[bot]

Reminder, please take a look at this pr: @robertwb @ahmedabu98

github-actions[bot] avatar Nov 15 '23 12:11 github-actions[bot]

Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:

R: @Abacn for label java. R: @Abacn for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

github-actions[bot] avatar Nov 20 '23 12:11 github-actions[bot]

Reminder, please take a look at this pr: @Abacn @Abacn

github-actions[bot] avatar Nov 28 '23 12:11 github-actions[bot]

Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:

R: @kennknowles for label java. R: @damondouglas for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

github-actions[bot] avatar Dec 01 '23 12:12 github-actions[bot]

Reminder, please take a look at this pr: @kennknowles @damondouglas

github-actions[bot] avatar Dec 09 '23 12:12 github-actions[bot]

@damondouglas @Abacn @ahmedabu98 @johnjcasey could someone please take a look at this one?

damccorm avatar Dec 12 '23 13:12 damccorm

Ack, taking a look

johnjcasey avatar Dec 12 '23 16:12 johnjcasey

Reminder, please take a look at this pr: @kennknowles @damondouglas

github-actions[bot] avatar Dec 21 '23 12:12 github-actions[bot]

We need to add tests to this change

I have updated the test cases to org.apache.beam.sdk.io.aws2.kinesis.WatermarkPolicyTest. The essence of this PR is to get the current timestamp of the stream from the record if custom watermark policy is set for it, otherwise if falls back to the arrival time policy. Hence I have updated the test cases for above class.

In other test classes where we test the Kinesis reader or shard subscribers the setup itself of these test cases assumes arrival time policy hence there are no changes to these test classes.

sjmittal avatar Dec 25 '23 05:12 sjmittal

Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:

R: @robertwb for label java. R: @ahmedabu98 for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

github-actions[bot] avatar Dec 27 '23 12:12 github-actions[bot]

Reminder, please take a look at this pr: @robertwb @ahmedabu98

github-actions[bot] avatar Jan 03 '24 12:01 github-actions[bot]

Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:

R: @kennknowles for label java. R: @damondouglas for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

github-actions[bot] avatar Jan 08 '24 12:01 github-actions[bot]

Reminder, please take a look at this pr: @kennknowles @damondouglas

github-actions[bot] avatar Jan 16 '24 12:01 github-actions[bot]

Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:

R: @robertwb for label java. R: @chamikaramj for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

github-actions[bot] avatar Jan 19 '24 12:01 github-actions[bot]

@johnjcasey could you please take another look at this one/help take this pr to completion?

damccorm avatar Jan 19 '24 15:01 damccorm

Reminder, please take a look at this pr: @robertwb @chamikaramj

github-actions[bot] avatar Jan 27 '24 12:01 github-actions[bot]

Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:

R: @Abacn for label java. R: @ahmedabu98 for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

github-actions[bot] avatar Jan 31 '24 12:01 github-actions[bot]

Reminder, please take a look at this pr: @Abacn @ahmedabu98

github-actions[bot] avatar Feb 08 '24 12:02 github-actions[bot]

@johnjcasey could you please take another look here?

damccorm avatar Feb 08 '24 14:02 damccorm

Reminder, please take a look at this pr: @Abacn @ahmedabu98

github-actions[bot] avatar Feb 16 '24 12:02 github-actions[bot]

Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:

R: @robertwb for label java. R: @chamikaramj for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

github-actions[bot] avatar Feb 21 '24 12:02 github-actions[bot]

Reminder, please take a look at this pr: @robertwb @chamikaramj

github-actions[bot] avatar Feb 29 '24 12:02 github-actions[bot]

Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:

R: @Abacn for label java. R: @Abacn for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

github-actions[bot] avatar Mar 04 '24 12:03 github-actions[bot]

Reminder, please take a look at this pr: @Abacn @Abacn

github-actions[bot] avatar Mar 12 '24 12:03 github-actions[bot]

Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:

R: @kennknowles for label java. R: @chamikaramj for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

github-actions[bot] avatar Mar 14 '24 12:03 github-actions[bot]