Firestore listeners stop receive updates - Java
@cherylEnkidu がすでに取り組んでいます。
2024年7月24日 から。
評価
この issue はまだ評価されていません。
説明
Java Spring Boot 3.0.2
Firestore Listeners ( 7 )
Region FireStore - Sao paulo
Region Server - Sao Paulo AWS
Issue related : https://github.com/googleapis/google-cloud-java/issues/3514
https://github.com/googleapis/google-cloud-java/issues/13118
I have this kind of problem @schmidt-sebastian
i have 7 listeners, but always disconnecting some listeners and stop registering information in database. Im using Java.
What i have to do..to stop this behavior..?? because its intermitent situation.
I have to move to realtime database? or have some config extra to fix that? Because when i restart the server the listener back again..
Again, we are having a strange behavior of listeners. We have 7 listeners active and some time just 6..just 5.. and back to 7 ..but with this behavior we can put our plataform in production stage.
im using this
https://firebase.google.com/docs/admin/setup#java
implementation 'com.google.firebase:firebase-admin:9.2.0'
##########################
Resource resource = resourceLoader.getResource("classpath:prod-firebase.json");
String fileLines = new BufferedReader(new InputStreamReader(resource.getInputStream(), StandardCharsets.UTF_8))
.lines()
.collect(Collectors.joining());
InputStream serviceAccount = new ByteArrayInputStream(fileLines.getBytes());
FirebaseOptions options = new FirebaseOptions.Builder()
.setCredentials(GoogleCredentials.fromStream(serviceAccount))
.setDatabaseUrl("realtimedatabaseurl") //we are using realtimedatabase
.build();
FirebaseApp.initializeApp(options);
databaseReference = FirebaseDatabase.getInstance().getReference();
dbfirestore = FirestoreClient.getFirestore(); // firestore instance
the problem is higher workload .. i check three times the workload and if we see the listener drop when the workload if high. the clock below each graph show us.. everytime have a peak drop listener.
now..i dont know what to do.. :(
Can someone help me?
- 主要言語
- Java
- スター
- 620
- フォーク
- 305
- 平均マージ
- 4日 9時間
- マージ済み PR(30日)
- 4
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
firebase/firebase-admin-java のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
firebase/firebase-admin-java#1231 ·
-
api: core
firebase/firebase-admin-java#1198 · コメント 3 件 · 担当者 1 名 ·
-
api: remoteconfig
firebase/firebase-admin-java#1196 · コメント 1 件 · 担当者 2 名 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
firebase/firebase-admin-java#1192 · コメント 3 件 ·
-
needs-triage type: feature request
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
firebase/firebase-admin-java#1149 · コメント 1 件 ·
firebase/firebase-admin-java の issue をすべて見る
似ている issue
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
apache/flink-agents#1152 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
jenkinsci/blueocean-plugin#5417 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
objectionary/eo-graphs#75 ·