Giter Site home page Giter Site logo

tsf-simple-demo's Introduction

Demo 工程目录

工程名称 工程说明
consumer-demo TSF微服务治理服务消费者
provider-demo TSF微服务治理服务提供者
msgw-demo 基于TSF Spring Cloud MS Gateway 网关示例
opensource-zuul-demo 基于开源 Zuul 的微服务网关示例
opensource-scg-demo 基于开源Spring Cloud Gateway的微服务网关示例
rocketmq-producer 支持RocketMQ 消息队列调用链的消息生产者示例
rocketmq-consumer 支持RocketMQ 消息队列调用链的消息消费者示例
kafka-demo 支持Kafka调用链的示例,包含了消息消费者和生产者,
mongodb-demo 支持MongoDB调用链的微服务示例
mysql-demo 支持MySQL调用链的微服务示例
redis-demo 支持Redis调用链的微服务示例
task-schedule-demo TCT分布式任务调度示例

依赖说明

pom.xml 中定义了工程需要的依赖包(以下以基于 Spring Cloud Greenwich 版本 SDK 举例说明):

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>com.tencent.tsf</groupId>
        <artifactId>spring-cloud-tsf-dependencies</artifactId>
        <version>1.23.0-Greenwich-RELEASE</version>
    </parent>

    <groupId>com.tencent.tsf</groupId>
    <artifactId>tsf-demo</artifactId>
    <version>1.23.0-Greenwich-RELEASE</version>
    <packaging>pom</packaging>

    <modules>
        <module>provider-demo</module>
        <module>consumer-demo</module>
        <module>opensource-zuul-demo</module>
        <module>rocketmq-demo</module>
        <module>mysql-demo</module>
        <module>redis-demo</module>
        <module>mongodb-demo</module>
        <module>kafka-demo</module>
        <module>msgw-demo</module>
        <module>opensource-scg-demo</module>
    </modules>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <java.version>1.8</java.version>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>
</project>

其中 parent 描述了不同微服务 demo 共同的 TSF 依赖。

<parent>
        <groupId>com.tencent.tsf</groupId>
        <artifactId>spring-cloud-tsf-dependencies</artifactId>
        <version><!-- 调整为 SDK 最新版本号 --></version>
</parent>

tsf-simple-demo's People

Contributors

lidengke avatar liuxiaolsdx avatar simple858 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.