We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Reported by @mckeeh3
https://doc.akka.io/docs/akka-projection/current/management.html?_ga=2.226035482.1601428721.1620908416-167537786.1584038307#pause-and-resume
ProjectionId projectionId = ProjectionId.of("shopping-carts", "carts-1"); ProjectionManagement mgmt = ProjectionManagement.get(system); CompletionStage<Done> pauseDone = mgmt.pause(projectionId); CompletionStage<Done> migrationDone = pauseDone.thenCompose(notUsed -> someDataMigration()); CompletionStage<Done> resumeDone = migrationDone.thenCompose(notUsed -> mgmt.pause(projectionId));
Last line should be
CompletionStage<Done> resumeDone = migrationDone.thenCompose(notUsed -> mgmt.resume(projectionId));
The text was updated successfully, but these errors were encountered:
Fix Java pause/resume docs example to finish with resume akka#557
903ed31
7831545
Merge pull request #558 from ihostage/issue-557
891a9c6
Fix Java pause/resume docs example to finish with resume #557
No branches or pull requests
Reported by @mckeeh3
https://doc.akka.io/docs/akka-projection/current/management.html?_ga=2.226035482.1601428721.1620908416-167537786.1584038307#pause-and-resume
Last line should be
The text was updated successfully, but these errors were encountered: