springcloud之分布式事务seata-乐鱼入口

`

springcloud之分布式事务seata-server搭建

1.分布式事务seata-server-1.5.2

2.conf/application.yml
server:
  port: 7091

spring:
  application:
    name: seata-server

logging:
  config: classpath:logback-spring.xml
  file:
    path: ${user.home}/logs/seata
  extend:
    logstash-appender:
      destination: 127.0.0.1:4560
    kafka-appender:
      bootstrap-servers: 127.0.0.1:9092
      topic: logback_to_logstash

console:
  user:
    username: seata
    password: seata

seata:
  config:
    # support: nacos, consul, apollo, zk, etcd3
    type: nacos
    nacos:
      server-addr: 127.0.0.1:8848
      namespace: 0ef84c31-0570-4591-a708-1945a253048d
      group: seata_group
      username: nacos
      password: nacos
      data-id: seataserver.properties
  registry:
    # support: nacos, eureka, redis, zk, consul, etcd3, sofa
    type: nacos
    nacos:
      application: seata-server
      server-addr: 127.0.0.1:8848
      group: seata_group
      namespace: 0ef84c31-0570-4591-a708-1945a253048d
      cluster: default
      username: nacos
      password: nacos
  store:
    # support: file 、 db 、 redis
    mode: db
    db:
      datasource: druid
      db-type: mysql
      driver-class-name: com.mysql.jdbc.driver
      url: jdbc:mysql://127.0.0.1:3306/seata?rewritebatchedstatements=true
      user: abc
      password: 1000
      min-conn: 5
      max-conn: 100
      global-table: global_table
      branch-table: branch_table
      lock-table: lock_table
      distributed-lock-table: distributed_lock
      query-limit: 100
      max-wait: 5000
#  server:
#    service-port: 8091 #if not configured, the default is '${server.port} 1000'
  security:
    secretkey: seatasecretkey0c382ef121d778043159209298fd40bf3850a017
    tokenvalidityinmilliseconds: 1800000
    ignore:
      urls: /,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/api/v1/auth/logi

3.创建seata数据库
/script/server/db/mysql.sql

4.启动seata-server:
seata-server.bat -p 8091 -h 127.0.0.1 -m db -n 1
0
0
分享到:
评论

相关推荐

    seata-server-0.9.0seata-server-0.9.0seata-server-0.9.0seata-server-0.9.0seata-server-0.9.0seata-server-0.9.0seata-server-0.9.0seata-server-0.9.0seata-server-0.9.0seata-server-0.9.0seata-server-0.9.0...

    springcloud集成分布式事务seata中的at模式

    seata-server-1.4.2

    分布式事务seata服务,自己直接网上下载seata-server-1.2.0.tar.gz有点难下载,主要用于自己备份,方便下载

    赠送jar包:spring-cloud-starter-alibaba-seata-2021.1.jar; 赠送原api文档:spring-cloud-starter-alibaba-seata-2021.1-javadoc.jar; 赠送源代码:spring-cloud-starter-alibaba-seata-2021.1-sources.jar; ...

    赠送jar包:seata-spring-boot-starter-1.3.0.jar; 赠送原api文档:seata-spring-boot-starter-1.3.0-javadoc.jar; 赠送源代码:seata-spring-boot-starter-1.3.0-sources.jar; 赠送maven依赖信息文件:seata-...

    seata-server-0.7.1 , 由于github下载速度慢,所以提供下载, 有需要的可以直接下载。

    git下载太慢了,上传给大家共享,linux和win 使用 seata-server-1.4.2.zip。 用于分布式事务架构。

    seata-server-1.1.0.zip,完美解决github下载太慢问题 seata 是一款开源的分布式事务乐鱼app官网的解决方案,致力于提供高性能和简单易用的分布式事务服务

    seata-server-1.4.0.zip

    seata-1.2.0,seata-server-1.2.0.zip,分布式事务,阿里分布式事务,阿里巴巴

    seata-server-1.3.0

    seata-server,github上下载慢甚至无法下载,现在csdn上共享

    seata 是一款开源的分布式事务乐鱼app官网的解决方案,致力于在微服务架构下提供高性能和简单易用的分布式事务服务

    github下载太慢,上传到这里提供...seata 是一款开源的分布式事务乐鱼app官网的解决方案,致力于提供高性能和简单易用的分布式事务服务。seata 将为用户提供了 at、tcc、saga 和 xa 事务模式,为用户打造一站式的分布式乐鱼app官网的解决方案。

    最新版linux seata-server-1.4.0.tar.gz最新版linux seata-server-1.4.0.tar.gz

    最新版windows seata-server-1.4.2.zip最新版windows seata-server-1.4.2.zip

    seata-server-1.1.0.tar.gz linux版 csdn上别人都要积分 我这里设置了0积分下载

    阿里的seata,seata-server-1.3.0.tar.gz,在github上下载太慢了 seata 是一款开源的分布式事务乐鱼app官网的解决方案,致力于在微服务架构下提供高性能和简单易用的分布式事务服务。

global site tag (gtag.js) - google analytics
网站地图