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

Develop an approach to determining that all the events that have been sent to Micro have been processed #15

Open
yalisassoon opened this issue Oct 30, 2019 · 0 comments

Comments

@yalisassoon
Copy link

When writing tests against Micro, there is often a need to ensure that Micro has finished processing the events before checking the API to see that they processed successfully. Today, this might be accomplished using sleeps. Might there be some way to get Micro to indicate that it has finished performing a test so that that notification could trigger the completion of the tests?

One idea is to enable an optional parameter sent with an event to Micro, that specifies an endpoint and a map of parameters. Once that event is processed Micro pings that endpoint with those parameters.

Hat tip @benjben @colmsnowplow @jamessnowplow

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

No branches or pull requests

1 participant