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

Support asynchronous pipeline pause/resume #9

Closed
HarshBalyan opened this issue Feb 6, 2020 · 1 comment
Closed

Support asynchronous pipeline pause/resume #9

HarshBalyan opened this issue Feb 6, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@HarshBalyan
Copy link
Member

Currently, the Flume.pause and Flume.resume issues synchronous calls to the Producer GenStage to pause/resume pipeline.
Package should also support asynchronous calls to allow for cases where GenStage calls timeout and the operation fails.

@HarshBalyan HarshBalyan added the enhancement New feature or request label Feb 6, 2020
@HarshBalyan HarshBalyan self-assigned this Feb 6, 2020
@nitinstp23 nitinstp23 changed the title Support asynchrous pipeline pause/resume Support asynchronous pipeline pause/resume Feb 6, 2020
@nitinstp23
Copy link
Collaborator

@HarshBalyan We can add keyword options to these functions -

Flume.pause(pipeline_name, options \\ [])
Flume.resume(pipeline_name, options \\ [])

# options = [temporary: boolean, async: boolean]

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants