Firestore listeners stop receive updates - Java
@cherylEnkidu ya está trabajando en esto.
Desde el 24/7/2024.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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?
- Lenguaje dominante
- Java
- Estrellas
- 620
- Forks
- 305
- Merge medio
- 4 d 9 h
- PR fusionados (30 d)
- 4
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de firebase/firebase-admin-java
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
firebase/firebase-admin-java#1231 ·
-
api: core
firebase/firebase-admin-java#1198 · 3 comentarios · 1 asignado ·
-
[BUG] RemoteConfig unit tests fail in non-English (e.g., Korean) Locales due to Date Parsing Abiertoapi: remoteconfig
firebase/firebase-admin-java#1196 · 1 comentario · 2 asignados ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
firebase/firebase-admin-java#1192 · 3 comentarios ·
-
needs-triage type: feature request
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
firebase/firebase-admin-java#1149 · 1 comentario ·
Todos los issues de firebase/firebase-admin-java
Issues similares
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
apache/flink-agents#1152 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
jenkinsci/blueocean-plugin#5417 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
objectionary/eo-graphs#75 ·