Skip to content

Conversation

@rickle-msft
Copy link
Contributor

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.

@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Jul 20, 2021
Comment on lines 311 to 312
- 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
Copy link
Member

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;
Copy link
Member

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.
Copy link
Member

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

@rickle-msft rickle-msft merged commit f0a1656 into Azure:main Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE REQ] Create an example for how to migration from v8 LocationMode to v12 Storage RA-GRS sample

2 participants