coolbeevip commented on issue #576: akka resdis persistence
URL: https://github.com/apache/servicecomb-pack/pull/576#issuecomment-543670660
 
 
   我们希望对于redis的支持可以通过启动参数配置,而不是通过重新编译源代码的方式,按照你修改后的解析方式,我理解应该就支持以下这种方式了,你能确认一下吗?
   
   redis 单例模式
   
   ```
   --akkaConfig.akka-persistence-redis.redis.mode=simple
   --akkaConfig.akka-persistence-redis.redis.host=127.0.0.1
   --akkaConfig.akka-persistence-redis.redis.port=6379
   --akkaConfig.akka-persistence-redis.redis.database=0
   --akkaConfig.akka-persistence-redis.redis.password=xxx
   ```
   
   redis 哨兵模式
   
   ```
   --akkaConfig.akka-persistence-redis.redis.mode=sentinel
   --akkaConfig.akka-persistence-redis.redis.host=127.0.0.1
   --akkaConfig.akka-persistence-redis.redis.port=6379
   --akkaConfig.akka-persistence-redis.redis.database=0
   --akkaConfig.akka-persistence-redis.redis.master=mymaster
   --akkaConfig.akka-persistence-redis.redis.sentinel-list=127.0.0.1:6379
   --akkaConfig.akka-persistence-redis.redis.password=xxx
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to