rabbitmq

Synopsys

rabbitmq {
    # The name of the exchange to send message to. There is no default value for this setting.
    exchange => ""

    # The exchange type (fanout, topic, direct). There is no default value for this setting.
    exchange_type => ""

}

Available settings

Setting Type Info Default value
add_field hash {}
arguments amqp.Table ?
connect_retry_interval time.Duration timeDuration
connection_timeout time.Duration timeDuration
durable bool false
exchange string required ""
exchange_type string required ""
heartbeat time.Duration timeDuration
host string ""
key string ""
passive bool false
password string ""
persistent bool false
port int 0
ssl bool false
tags array []
user string ""
verify_ssl bool false
vhost string ""

Details

add_field

  • Value type is hash
  • Default value is {}
  • Add a field to an event. Default value is {}

    arguments

  • Value type is amqp.Table
  • Default value is ?
  • Extra exchange arguments. Default value is {}

    connect_retry_interval

  • Value type is time.Duration
  • Default value is timeDuration
  • Time in seconds to wait before retrying a connection. Default value is 1

    connection_timeout

  • Value type is time.Duration
  • Default value is timeDuration
  • Time in seconds to wait before timing-out. Default value is 0 (no timeout)

    durable

  • Value type is bool
  • Default value is false
  • Is this exchange durable - should it survive a broker restart? Default value is true

    exchange

  • This is a required setting
  • Value type is string
  • Default value is ""
  • The name of the exchange to send message to. There is no default value for this setting.

    exchange_type

  • This is a required setting
  • Value type is string
  • Default value is ""
  • The exchange type (fanout, topic, direct). There is no default value for this setting.

    heartbeat

  • Value type is time.Duration
  • Default value is timeDuration
  • Interval (in second) to send heartbeat to rabbitmq. Default value is 0 If value if lower than 1, server’s interval setting will be used.

    host

  • Value type is string
  • Default value is ""
  • RabbitMQ server address. There is no default value for this setting.

    key

  • Value type is string
  • Default value is ""
  • The routing key to use when binding a queue to the exchange. Default value is “” This is only relevant for direct or topic exchanges (Routing keys are ignored on fanout exchanges). This setting can be dynamic using the %{foo} syntax.

    passive

  • Value type is bool
  • Default value is false
  • Use queue passively declared, meaning it must already exist on the server. Default value is false To have BitFan to create the queue if necessary leave this option as false. If actively declaring a queue that already exists, the queue options for this plugin (durable, etc) must match those of the existing queue.

    password

  • Value type is string
  • Default value is ""
  • RabbitMQ password. Default value is “guest”

    persistent

  • Value type is bool
  • Default value is false
  • Should RabbitMQ persist messages to disk? Default value is true

    port

  • Value type is int
  • Default value is 0
  • RabbitMQ port to connect on. Default value is 5672

    ssl

  • Value type is bool
  • Default value is false
  • Enable or disable SSL. Default value is false

    tags

  • Value type is array
  • Default value is []
  • Add any number of arbitrary tags to your event. There is no default value for this setting. This can help with processing later. Tags can be dynamic and include parts of the event using the %{field} syntax.

    user

  • Value type is string
  • Default value is ""
  • RabbitMQ username. Default value is “guest”

    verify_ssl

  • Value type is bool
  • Default value is false
  • Validate SSL certificate. Default value is false

    vhost

  • Value type is string
  • Default value is ""
  • The vhost to use. Default value is “/”

    Full configuration blueprint

    Expand me...