问题标签 [apache-zest]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
mongodb - Apache Polygene 与 MongoDB EntityStore 连接
我正在使用 Apache Polygene (Qi4j) 2.1,并且正在尝试将 MongoDB 实体存储与多个节点和副本集一起使用。
我mongodb.booking.store.properties
文件中的当前配置是:
我得到以下错误:
但是当我nodes
从上述文件中删除该属性时,一切正常,并且与 mongo 的连接成功。
如何使用多个节点和副本集?
apache-zest - 如何配置 FileEntityStoreService
我正在尝试使用 File EntityStore,但由于切片为零,我在激活时遇到异常。
我认为这是配置问题,但我希望默认值为 1。
我缩小到这个程序集:
堆栈跟踪的结尾:
我使用的是 3.0.0 版本,我在 linux 上。