-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Location mode example #23094
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
Location mode example #23094
Conversation
| - Examples for how to approximate v8 StorageEvent behavior can be found in samples/StorageEventExample.java | ||
| - Examples for how to approximate v8 LocationMode behavior can be found in samples/LocationModeExample.java |
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.
Could these statements be made into links so that users can jump to them directly
| @@ -0,0 +1,102 @@ | |||
| package com.azure.storage.blob; | |||
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.
nit: missing license header
| * endpoint as the primary and the primary as the secondary, the behavior of secondary-only or secondary-then-primary | ||
| * can be achieved. To avoid confusion of terms in this example, 'preferred' and 'fallback' will refer to the location | ||
| * that is tried by the client first and then second respectively, whereas 'primary' and 'secondary' will refer to the | ||
| * Storage concept of primary read-write storage and back-up/redundant/read-only storage respectively. |
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.
Should this link to docs explaining back-up/redundant/read-only
Resolves #13198
Resolves #16419
This does not serve as a complete substitute for the circuit breaker example in #16419 because the size of that example is beyond the scope of this repo, but it does give some direction on how to pursue a similar pattern.