This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git
commit b5bb417ef05fcab4680bc09fa2d80f2af063825c Author: Lei Zhang <coolbee...@gmail.com> AuthorDate: Fri Sep 27 10:54:48 2019 +0800 SCB-1368 Added parameter description --- .../org/apache/servicecomb/pack/alpha/fsm/FsmAutoConfiguration.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/alpha/alpha-fsm/src/main/java/org/apache/servicecomb/pack/alpha/fsm/FsmAutoConfiguration.java b/alpha/alpha-fsm/src/main/java/org/apache/servicecomb/pack/alpha/fsm/FsmAutoConfiguration.java index 97430ba..2afc1a9 100644 --- a/alpha/alpha-fsm/src/main/java/org/apache/servicecomb/pack/alpha/fsm/FsmAutoConfiguration.java +++ b/alpha/alpha-fsm/src/main/java/org/apache/servicecomb/pack/alpha/fsm/FsmAutoConfiguration.java @@ -55,6 +55,9 @@ import org.springframework.data.elasticsearch.core.ElasticsearchTemplate; @ConditionalOnProperty(value = {"alpha.feature.akka.enabled"}) public class FsmAutoConfiguration { + // TODO + // Size of bulk request, When this value is greater than 0, the batch data will be lost when the jvm crashes. + // In the future, we can use Kafka to solve this problem instead of storing it directly in the ES. @Value("${alpha.feature.akka.transaction.repository.elasticsearch.batchSize:100}") int repositoryElasticsearchBatchSize;