Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
现在,我从 Play! 与一个 MongoDB 进行 morphia 对话的配置设置。如果我有多个 MongoDB 实例(可能是分片或副本),我如何从 Play 访问它们!
如果您有一个副本集,那么在配置中只提供 1 个成员就足以让 Java 驱动程序找出主要和辅助节点。