Code Monkey home page Code Monkey logo

spring-cloud-stream-instances's Introduction

spring cloud stream instances

This project presents an examples of the queue streams realisation grouped by modules. Each module presents the small simple queue stream instance of the spring-boot service.

status last commit

license


๐Ÿ“‡ Table of Contents

๐Ÿ“– About

This is a collection of small and focused instances - each covering a single and well defined approach in the area of the java application development grouped by modeules. Each module is supposed to provide a separate simple instance. In this project each module presents a small simple instance of the queue stream realisation between a spring-boot restful services. A strong focus of these is, of course, the spring-cloud-stream implementation for different queue services.

Modules

This project includes the follows modules:

  • number-counter - this module is a java project with simple instances of the Spring Cloud Stream implementation with Rabbit and Kafka, booth in one service;

๐ŸŽš Features

  • The simple spring-cloud-strea implementation for consuming and producing messages on booth RabbitMQ and Kafka.

To Do

  • For more information on an upcoming development, please read the todo list.

Changelog

  • For more information on a releases, a features and a changes, please read the changelog notes.

๐Ÿšฆ Getting Started

These instructions allow to get a copy of this project and run it on a local machine.

Prerequisites

Before using it, make sure that follows software are installed on the local machine:

If any of the listed software is not installed, then it can be installed by instruction as described below.

  1. Oracle JDK 8+

    • Install Oracle JDK 8+ according to instructions from an official instruction.
  2. Maven 3+

    • Install Maven 3+ according to instructions from an official source.
  3. Docker Compose

    • Install Docker Compose according to instructions from an official source.

Installing

In order to install it is quite simple to clone or download this repository.

Cloning

For the cloning this repository to a local machine, just use the follows link:

https://github.com/ololx/spring-cloud-stream-instances

Using

To use it is necessary to: 1 - To deploy the additional software. 2 - To build the project. 3 - To launch the instances.

Deploy the additional software

1 - To do the deployment of the additional software, execute docker compose in the root directory by the following command:

docker-compose up

2 - Wait for all software deployment to complete.

Building the project

To do the full build, execute maven goal install in the root directory by the following command:

mvn clean install

Building a single module

To do the full build, execute maven goal install in the module directory by the following command:

mvn clean install

Launching in command line

To do the examples, execute maven goal spring-boot:run in the module directory by the following command:

mvn spring-boot:run

Launching in IDE

This is a multi-module project. Each model is supposed to provide a separate example. That's why when you're working with an individual module, there's no need to import all of them (or build all of them) - you can simply import that particular module in either Eclipse, NetBeanse or IntelliJ IDEA and run each example in IDE.

๐Ÿ›  Built With

  • Oracle JDK - java development kit;
  • Maven - dependency management;
  • RabbitMQ - database management system;
  • Docker Compose - tool for defining and running multi-container Docker applications.

ยฉ๏ธ Authors

  • Alexander A. Kropotin - project work - ololx.

๐Ÿ” Licensing

This project is licensed under the MIT license - see the lisence document for details.

spring-cloud-stream-instances's People

Contributors

ololx avatar

Stargazers

 avatar

Watchers

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