Let's take a look at a tutorial that explains how to build an application that connects to multiple MongoDBs. Also look at creating the data model and repositories.
Learning about performance differences between microservices written in Java and Go will help you plan the language you choose when building your own services.