Skip to content
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

Pravega fix checkpointing (and timeout) #2246

Merged
merged 3 commits into from Mar 30, 2020

Conversation

cheleb
Copy link
Contributor

@cheleb cheleb commented Mar 30, 2020

Checkpoint event were not handle correctly neither timeout.

log.debug(s"Checkpoint: ${eventRead.getCheckpointName}")
else push(out, new PravegaEvent(eventRead.getEvent, eventRead.getPosition, eventRead.getEventPointer))
if (eventRead.isCheckpoint) {
log.debug(s"Checkpoint: ${eventRead.getCheckpointName}")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
log.debug(s"Checkpoint: ${eventRead.getCheckpointName}")
log.debug("Checkpoint: {}", eventRead.getCheckpointName)

@@ -60,7 +62,7 @@ class PravegaGraphSpec extends PravegaBaseSpec {

// #reading

Await.ready(finishReading.future, 10.seconds)
Await.ready(finishReading.future, 20.seconds)
Copy link
Member

Choose a reason for hiding this comment

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

Can you keep it shorter with fewer events, please.

Copy link
Member

@ennru ennru left a comment

Choose a reason for hiding this comment

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

LGTM.

@ennru ennru changed the title Pravega fix checkpointing (and timeout). Pravega fix checkpointing (and timeout) Mar 30, 2020
@ennru ennru merged commit 5b8ee1c into akka:master Mar 30, 2020
@ennru
Copy link
Member

ennru commented Mar 30, 2020

Thank you for continuing on this great addition to Alpakka!

@ennru ennru added this to the 2.0.0 milestone Mar 30, 2020
@cheleb cheleb deleted the pravega-fix-checkpointing branch April 22, 2021 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants