Can I automate emqx messages to store in Firebase Firestore or real time database?

I have a topic that is subscribed from a Spring boot project. Now, Spring boot receives the data correctly and then I update the data to firebase from spring boot. But this increased the latency a bit. So, I want my real time database to keep listening a specific topic same as the Spring boot project. So, when ever there is some data published, I want the both Real time database and the spring boot to receive the data at the same time. Is it possible to configure the emqx cloud in such a way that it automatically updates the Firebase db upon receiving the message?