rabbitmq-schema

command module
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2020 License: MIT Imports: 5 Imported by: 0

README

RabbitMQ Schema Creator

Not tested

RabbitMQ Schema - tools to create queues and exchange in RabbitMQ based on the prepared schema.

Content

Install

go get -u gitlab.com/shadowy-go/rabbitmq-schema

This will install the rabbitmq-schema binary to your $GOPATH/bin directory.

Usage

rabbitmq-schema -url <connection string to rabbit-mq> -schema <schema file>
Parameter Description
url connection string to rabbit-mq (example: 'amqp://guest:guest@localhost:5672/')
schema schema file

Schema

Example of schema file:

schema:
  exchange:
    example-fanout:
      type: fanout
      durable: true
      autoDelete: false
    example-topic:
      type: topic
      durable: true
      autoDelete: false
      bind:
        - exchange: example-fanout
  queue:
    example-queue:
      durable: true
      autoDelete: false
      maxPriority: 1
      bind:
        - exchange: example-topic
          key: "*.*.ticker"
        - exchange: example-topic
          key: "*.*.ticker1"

Plan

Changelog

License

Licensed under MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
model

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL