Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.31 KB

Readme.md

File metadata and controls

50 lines (33 loc) · 1.31 KB

Golang RabbitMQ Delayed Messages

This repository contains a Go application that demonstrates the use of RabbitMQ with delayed messages.

Features

  • Publish messages to RabbitMQ with a delay
  • Consume delayed messages from RabbitMQ
  • Configuration via environment variables

Requirements

Getting Started

Installation

  1. Clone the repository:

    git clone https://github.com/muthukumar89uk/go-rabbitmq-delayed-message.git
    

Click here to directly download it.

Install dependencies:

      go mod tidy

Run the Application

  1. Run the Server

       go run .
    
  2. The server will start on http://localhost:8080.

Run the RabbitMQ Server Using Docker

Latest RabbitMQ 3.13

  docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3.13-management

Refer