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.
在 Lagom 中,联系点似乎是从只接受单个 URI 的服务定位器加载的。我们如何指定多个 cassandra 接触点?
lagom.services { cas_native = "tcp://10.0.0.120:9042" }
我已经尝试在 akka 持久性配置中设置接触点,但这似乎并没有覆盖服务定位器配置。
我所缺少的只是覆盖服务查找的会话提供程序:
session-provider = akka.persistence.cassandra.ConfigSessionProvider contact-points = ["10.0.0.120", "10.0.3.114", "10.0.4.168"]
lagom cassandra 配置中需要