{"id":13435697,"url":"https://github.com/codingapi/tx-lcn","last_synced_at":"2025-05-14T00:04:59.575Z","repository":{"id":38451650,"uuid":"110315174","full_name":"codingapi/tx-lcn","owner":"codingapi","description":"LCN distributed transaction framework, compatible with dubbo, spring cloud and Motan framework, supports various relational databases","archived":false,"fork":false,"pushed_at":"2023-09-06T07:27:14.000Z","size":14551,"stargazers_count":4205,"open_issues_count":198,"forks_count":1460,"subscribers_count":280,"default_branch":"dev6.0","last_synced_at":"2025-04-10T12:41:00.765Z","etag":null,"topics":["dubbo","jta","motan","spring-cloud","transaction","tx-lcn"],"latest_commit_sha":null,"homepage":"https://www.codingapi.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codingapi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-11-11T03:34:34.000Z","updated_at":"2025-04-02T08:36:17.000Z","dependencies_parsed_at":"2024-01-15T00:11:32.369Z","dependency_job_id":"3bb5c730-12d8-4e43-936a-1898c3c13d84","html_url":"https://github.com/codingapi/tx-lcn","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingapi%2Ftx-lcn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingapi%2Ftx-lcn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingapi%2Ftx-lcn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingapi%2Ftx-lcn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codingapi","download_url":"https://codeload.github.com/codingapi/tx-lcn/tar.gz/refs/heads/dev6.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254043325,"owners_count":22004926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dubbo","jta","motan","spring-cloud","transaction","tx-lcn"],"created_at":"2024-07-31T03:00:38.173Z","updated_at":"2025-05-14T00:04:59.558Z","avatar_url":"https://github.com/codingapi.png","language":"Java","readme":"# Distributed Transaction Framework - LCN (6.0.0)\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/codingapi/tx-lcn/blob/master/LICENSE)\n[![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)\n[![codecov](https://codecov.io/gh/codingapi/tx-lcn/branch/dev6.0/graph/badge.svg)](https://codecov.io/gh/codingapi/tx-lcn)\n[![Build Status](https://travis-ci.org/codingapi/tx-lcn.svg?branch=dev6.0)](https://travis-ci.org/codingapi/tx-lcn)\n\n## 文档\n\n见5.x版本文档见 [https://www.codingapi.com/docs/txlcn-preface/](https://www.codingapi.com/docs/txlcn-preface/)\n\n## 参与方式\n* 了解原理 [LCN分布式事务框架](LCN分布式事务框架-20200102.pdf)\n* 了解代码\n* 参与任务 [issues](https://github.com/codingapi/tx-lcn/issues) \n\n## 代码提交步骤\n* fork该项目地址,并更新代码\n* 认领任务或发布问题\n* 维护代码编写测试\n* 发起合并请求,关联issues\n* 代码审核通过合并到仓库中 \n  \n## 代码结构\n* example:                  *示例与测试相关的代码*    \n* starter-txlcn-protocol:   *txlcn-protocol模块的starter*   \n* starter-txlcn-tc:        *txlcn-tc模块的starter* \n* txlcn-p6spy:             *p6spy-解析sql与jdbc的event定义*\n* txlcn-protocol:          *通讯协议制度* \n* txlcn-tc:                 *TC事务客户端模块* \n* txlcn-tm:                 *TM事务控制端* \n\n## 从0到1实现分布式事务 公开课\n\n### 第一节课     \n分布式事务从0到1-认识分布式事务    \n[原文](https://www.codingapi.com/docs/txlcn-lesson01/) [B站](https://www.bilibili.com/video/av80626430/)  \n### 第二节课\n分布式事务从0到1-了解TX-LCN原理    \n[原文](https://www.codingapi.com/docs/txlcn-lesson02/)  [B站-原理一](https://www.bilibili.com/video/av80676649)  [B站-原理二](https://www.bilibili.com/video/av80676836)\n\nB站地址   \nhttps://space.bilibili.com/386239614  \n公众号(通过公众号加群):    \n![CODINGAPI分享者](qrcode.jpg)\n\n## 项目运行步骤\n \n依赖的环境:    \nmysql redis      \n\n数据库脚步:   \n[sql](./sql/init.sql)   \n\n启动步骤:    \n1、配置TM的参数信息，然后启动TM。   \n2、配置example-tc example-tc-2信息，启动他们。   \n3、测试example-tc，接口地址为 http://localhost:8090/save?name=123    \n\n","funding_links":[],"categories":["数据库开发","Java","中间件","四、中间件"],"sub_categories":["4.3 LCN"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingapi%2Ftx-lcn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingapi%2Ftx-lcn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingapi%2Ftx-lcn/lists"}