-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat(nats): flag to change persistence of streams #525
feat(nats): flag to change persistence of streams #525
Conversation
b9f0d31
to
0582e95
Compare
hey @markkovari thank you for this submission! Upon a first look, I only found a spelling issue that needs to be addressed. Otherwise, the changes made should do the trick. testing wise, I believe we probably want the following
|
@ahmedtadde thanks for the elaborate answer, will look into it between two food coma and how the tests are outlined. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick request to un-hide the flag, other piece optional but I'm thinking it'll be more clear to have lowercase flag options
830dd09
to
c18b3d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@markkovari this looks good! If there's any test to run, I think there's just two that we can do:
- Change one of the e2e tests to use memory backed streams, make sure nothing goes awry there
- Manually verify that you can run
./wadm --stream-persistence file
, close the wadm instance, then./wadm --stream-persistence memory
without issue.
Signed-off-by: Márk Kővári <[email protected]>
Signed-off-by: Márk Kővári <[email protected]>
Signed-off-by: Márk Kővári <[email protected]>
Signed-off-by: Márk Kővári <[email protected]>
Signed-off-by: Márk Kővári <[email protected]>
Signed-off-by: Márk Kővári <[email protected]>
those Signed-off-by: Márk Kővári <[email protected]>
cc15e3d
to
b85a3c6
Compare
Signed-off-by: Márk Kővári <[email protected]>
b85a3c6
to
a552842
Compare
Feature or Problem
cli toggle to modify the nats stream persistence between file and memory.
I do seek some guidance regarding testing here. Since we have multiple tests which have the file - default - mode enabled, should I create another suite or how do you think should I add tests for this?
Thank you
Related Issues
#479
Release Information
Consumer Impact
Testing
Unit Test(s)
Acceptance or Integration
Manual Verification