liuyangming / ByteTCC

ByteTCC is a distributed transaction manager based on the TCC(Try/Confirm/Cancel) mechanism. It’s compatible with the JTA specification. User guide: https://github.com/liuyangming/ByteTCC/wiki
https://www.bytesoft.org/
GNU Lesser General Public License v3.0
2.9k stars 911 forks source link

TransactionManagerImpl 需要 Curator? #100

Open slinpq opened 5 years ago

slinpq commented 5 years ago

使用SpringCloudConfiguration.class配置,启动后报Field beanFactory in org.bytesoft.bytetcc.TransactionManagerImpl required a bean of type 'org.apache.curator.framework.CuratorFramework' that could not be found.

liuyangming commented 5 years ago

使用MongoDB存储事务日志时,需要配置zookeeper,构建一个CuratorFramework的bean。

cloerfeng commented 4 years ago

不是有两种存储事务日志的么,按照注释SpringCloudSecondaryConfiguration 应该是使用的文件系统存储事务日志,这还会用到MongoDB存储日志么,不使用mongoDB 要怎样解决

liuyangming commented 4 years ago

使用SpringCloudSecondaryConfiguration不需要MongoDB,直接去掉MongoDB的maven依赖就可以。