[GitHub] [servicecomb-pack] coolbeevip commented on issue #576: akka resdis persistence

2019-10-18 Thread GitBox
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


[GitHub] [servicecomb-pack] coolbeevip commented on issue #576: akka resdis persistence

2019-10-18 Thread GitBox
coolbeevip commented on issue #576: akka resdis persistence
URL: https://github.com/apache/servicecomb-pack/pull/576#issuecomment-543647706
 
 
   > 不行
   
   你启动的时候配置了启动集群环境参数了吗?
   
   ```
   --spring.profiles.active=prd,cluster
   ```


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


[GitHub] [servicecomb-pack] coolbeevip commented on issue #576: akka resdis persistence

2019-10-18 Thread GitBox
coolbeevip commented on issue #576: akka resdis persistence
URL: https://github.com/apache/servicecomb-pack/pull/576#issuecomment-543634526
 
 
   直接在 application.yaml 中增加配置不行吗?


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