/message-queue-integration

:m:Learn and use four common message queue like rabbitmq, activemq, rocketmq and kafka, including some simple sample code.

Primary LanguageJavaMIT LicenseMIT

Message-Queue-Integration

Build Status License Coverage Status

Table of Contents

Components

Getting Started

First download and install the message queue service on your computer, and the download link has been written in the readme of each submodule. For example, click the link to download kafka.

Then you can start the message queue service according to the online tutorial. For example, you can use rabbitmq-server to start rabbitmq service:

$ rabbitmq-server

  ##  ##      RabbitMQ 3.8.3
  ##  ##
  ##########  Copyright (c) 2007-2020 Pivotal Software, Inc.
  ######  ##
  ##########  Licensed under the MPL 1.1. Website: https://rabbitmq.com

  Doc guides: https://rabbitmq.com/documentation.html
  Support:    https://rabbitmq.com/contact.html
  Tutorials:  https://rabbitmq.com/getstarted.html
  Monitoring: https://rabbitmq.com/monitoring.html

  Logs: /usr/local/var/log/rabbitmq/rabbit@localhost.log
        /usr/local/var/log/rabbitmq/rabbit@localhost_upgrade.log

  Config file(s): (none)

  Starting broker... completed with 6 plugins.

Finally, you can start the services or run test case in this project.

Please note that if you find it very troublesome to install each message queue services separately, you can install and start them through docker-compose.

Preview

  • Sting Boot Admin Wallboard Admin Wallboard

  • Sting Boot Admin Detail Admin Detail

  • Sting Boot Admin Threads Admin Threads

  • Sting Boot Admin Logfile Admin Logfile

Dependency Chart

Spring Boot Spring Boot Admin Swagger RabbitMQ ActiveMQ RocketMQ Kafka
2.1.5 2.1.6 2.7.0 2.1.5 2.1.5 4.7.0 2.2.6

Todo List

  • Add readmes to submodule
  • Add usage in complex scenarios

License

MIT © CoderQian