googleapis / googleapis/google-cloud-java

[java-firestore] Add a snippet demonstrating a stale read.

Open
#13,122 3 comments 0 reactions 1 assignee Assigned to @jlara310 View on GitHub
api: firestore type: docs
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

We need a Firestore snippet that demonstrates how to set read options to perform a stale read. A stale read can improve latency for request that don't require strong consistency.

File to update:

https://github.com/googleapis/java-firestore/blob/main/samples/snippets/src/main/java/com/example/firestore/snippets/ManageDataSnippets.java

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.