GithubHelp home page GithubHelp logo

zhaheng / myth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dromara/myth

0.0 2.0 0.0 794 KB

可靠消息解决分布式事务框架

License: Apache License 2.0

Java 98.17% HTML 0.03% Vue 1.63% CSS 0.17%

myth's Introduction

myth

采用消息队列解决分布式事务的开源框架, 基于java语言来开发(JDK1.8),支持dubbo,springcloud,motan等rpc框架进行分布式事务。

Features

  • RPC框架支持 : dubbo,motan,springcloud。
  • 消息中间件支持 : jms(activimq),amqp(rabbitmq),kafka,roceketmq。
  • 本地事务存储支持 : redis,mogondb,zookeeper,file,mysql。
  • 事务日志序列化支持 :java,hessian,kryo,protostuff。
  • 采用Aspect AOP 切面**与Spring无缝集成,天然支持集群,高可用,高并发。
  • 配置简单,集成简单,源码简洁,稳定性高,已在生产环境使用。
  • 内置经典的分布式事务场景demo工程,并有swagger-ui可视化界面可以快速体验。

源码解析

视频详解

Prerequisite

  • JDK 1.8+

  • Maven 3.2.x

  • Git

  • RPC framework dubbo or motan or springcloud。

  • Message Oriented Middleware

Quick Start

  • Clone & Build

    > git clone https://github.com/yu199195/myth.git
    
    > cd myth
    
    > mvn -DskipTests clean install -U
    
  • execute this sql

https://github.com/yu199195/myth/tree/master/myth-demo/sql/myth-mysql-demo.sql

  • Find the RPC framework that works for you

https://github.com/yu199195/myth/tree/master/myth-demo

Configuration

User Guide

  • 关于jar包引用问题,现在jar包还未上传到maven的**仓库,所以使用者需要自行获取代码,然后打包上传到自己maven私服

    > git clone https://github.com/yu199195/myth.git
    
    > mvn -DskipTests clean deploy -U
    
  • 关于jar包版本问题 ,现在因为没有传到**仓库,如果引用的话,请自行设置相应的版本。

FAQ

  • 为什么我下载的代码后,用idea打开没有相应的get set 方法呢?

    答:因为框架使用了Lombok包,它是在编译的时期,自动生成get set方法,并不影响运行,如果觉得提示错误难受,请自行下载lombok包插件,lombok官网
  • 为什么我运行demo工程,找不到applicationContent.xml呢?

    答:请设置项目的资源文件夹。
  • 为什么我启动myth-admin项目的时候,会报mongo 集群连接错误呢?

    答:这是因为项目里面有mongo代码,spring boot会自动配置,该错误没有关系,只要admin项目能正常启动就行。

Support

  • 如有任何问题欢迎加入QQ群进行讨论

  • 微信公众号

Contribution

myth's People

Contributors

yu199195 avatar 411241940 avatar lnnlab avatar itonyli avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.