Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/codingapi/tx-lcn

LCN distributed transaction framework, compatible with dubbo, spring cloud and Motan framework, supports various relational databases
https://github.com/codingapi/tx-lcn

dubbo jta motan spring-cloud transaction tx-lcn

Last synced: about 1 month ago
JSON representation

LCN distributed transaction framework, compatible with dubbo, spring cloud and Motan framework, supports various relational databases

Awesome Lists containing this project

README

        

# Distributed Transaction Framework - LCN (6.0.0)

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/codingapi/tx-lcn/blob/master/LICENSE)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.codingapi.txlcn/tx-lcn/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/com.codingapi.txlcn/tx-lcn)
[![codecov](https://codecov.io/gh/codingapi/tx-lcn/branch/dev6.0/graph/badge.svg)](https://codecov.io/gh/codingapi/tx-lcn)
[![Build Status](https://travis-ci.org/codingapi/tx-lcn.svg?branch=dev6.0)](https://travis-ci.org/codingapi/tx-lcn)

## 文档

见5.x版本文档见 [https://www.codingapi.com/docs/txlcn-preface/](https://www.codingapi.com/docs/txlcn-preface/)

## 参与方式
* 了解原理 [LCN分布式事务框架](LCN分布式事务框架-20200102.pdf)
* 了解代码
* 参与任务 [issues](https://github.com/codingapi/tx-lcn/issues)

## 代码提交步骤
* fork该项目地址,并更新代码
* 认领任务或发布问题
* 维护代码编写测试
* 发起合并请求,关联issues
* 代码审核通过合并到仓库中

## 代码结构
* example: *示例与测试相关的代码*
* starter-txlcn-protocol: *txlcn-protocol模块的starter*
* starter-txlcn-tc: *txlcn-tc模块的starter*
* txlcn-p6spy: *p6spy-解析sql与jdbc的event定义*
* txlcn-protocol: *通讯协议制度*
* txlcn-tc: *TC事务客户端模块*
* txlcn-tm: *TM事务控制端*

## 从0到1实现分布式事务 公开课

### 第一节课
分布式事务从0到1-认识分布式事务
[原文](https://www.codingapi.com/docs/txlcn-lesson01/) [B站](https://www.bilibili.com/video/av80626430/)
### 第二节课
分布式事务从0到1-了解TX-LCN原理
[原文](https://www.codingapi.com/docs/txlcn-lesson02/) [B站-原理一](https://www.bilibili.com/video/av80676649) [B站-原理二](https://www.bilibili.com/video/av80676836)

B站地址
https://space.bilibili.com/386239614
公众号(通过公众号加群):
![CODINGAPI分享者](qrcode.jpg)

## 项目运行步骤

依赖的环境:
mysql redis

数据库脚步:
[sql](./sql/init.sql)

启动步骤:
1、配置TM的参数信息,然后启动TM。
2、配置example-tc example-tc-2信息,启动他们。
3、测试example-tc,接口地址为 http://localhost:8090/save?name=123