Git Product home page Git Product logo

springcloudstream's Introduction

SpringCloudStream

SpringCloudStream DEMO

blog

项目demo需要kafka服务,自行替换配置中的参数。

spring.cloud.stream.kafka.binder.brokers=127.0.0.1:9092
spring.cloud.stream.kafka.binder.zk-nodes=127.0.0.1:2182

快速开始

按顺序启动包路径cn.com.sina.alan.a.下的main方法

1、启动Sink1Application
2、启动Sink2Application
3、启动Sink3Application
4、启动SourceApplication

如果先启动SourceApplication,则只有一个消费者能拿到所有所数据。 原因参见博客内容

调用send生产者服务,观察消费者控制台输出

1、curl http://localhost:8800/send/9301
2、curl http://localhost:8800/send/9302
3、curl http://localhost:8800/send/9303

springcloudstream's People

Stargazers

Roman 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.