6
The RabbitMQ applier plugin, named ``rabbitmq``, applies replication events to a `RabbitMQ <http://www.rabbitmq.com>`_ server. This can be used to create advanced replication solutions, to visualize data, or to build triggers.
11
To load this plugin, start :program:`drizzled` with::
15
Loading the plugin may not enable or configure it. See the plugin's
16
:ref:`rabbitmq_configuration` and :ref:`rabbitmq_variables`.
18
.. seealso:: :ref:`drizzled_plugin_options` for more information about adding and removing plugins.
20
.. _rabbitmq_configuration:
25
These command line options configure the plugin when :program:`drizzled`
26
is started. See :ref:`command_line_options` for more information about
27
specifying command line options.
31
.. option:: --rabbitmq.exchange ARG
33
:Default: ReplicationExchange
34
:Variable: :ref:`rabbitmq_exchange <rabbitmq_exchange>`
36
Name of RabbitMQ exchange to publish to
38
.. option:: --rabbitmq.host ARG
41
:Variable: :ref:`rabbitmq_host <rabbitmq_host>`
43
Host name to connect to
45
.. option:: --rabbitmq.password ARG
48
:Variable: :ref:`rabbitmq_password <rabbitmq_password>`
52
.. option:: --rabbitmq.port ARG
55
:Variable: :ref:`rabbitmq_port <rabbitmq_port>`
59
.. option:: --rabbitmq.routingkey ARG
61
:Default: ReplicationRoutingKey
62
:Variable: :ref:`rabbitmq_routingkey <rabbitmq_routingkey>`
64
Name of RabbitMQ routing key to use
66
.. option:: --rabbitmq.use-replicator ARG
68
:Default: default_replicator
71
Name of the replicator plugin to use (default='default_replicator')
73
.. option:: --rabbitmq.username ARG
76
:Variable: :ref:`rabbitmq_username <rabbitmq_username>`
80
.. option:: --rabbitmq.virtualhost ARG
83
:Variable: :ref:`rabbitmq_virtualhost <rabbitmq_virtualhost>`
87
.. _rabbitmq_variables:
92
These variables show the running configuration of the plugin.
93
See `variables` for more information about querying and setting variables.
95
.. _rabbitmq_exchange:
97
* ``rabbitmq_exchange``
101
:Option: :option:`--rabbitmq.exchange`
103
Name of RabbitMQ exchange to publish to
111
:Option: :option:`--rabbitmq.host`
113
Host name to connect to
115
.. _rabbitmq_password:
117
* ``rabbitmq_password``
121
:Option: :option:`--rabbitmq.password`
131
:Option: :option:`--rabbitmq.port`
135
.. _rabbitmq_routingkey:
137
* ``rabbitmq_routingkey``
141
:Option: :option:`--rabbitmq.routingkey`
143
Name of RabbitMQ routing key to use
145
.. _rabbitmq_username:
147
* ``rabbitmq_username``
151
:Option: :option:`--rabbitmq.username`
155
.. _rabbitmq_virtualhost:
157
* ``rabbitmq_virtualhost``
161
:Option: :option:`--rabbitmq.virtualhost`
166
Implementation Details
167
----------------------
169
* :program:`drizzled` will not sart if the rabbitmq server is not available.
170
* If the rabbitmq server goes away, the plugin will try to reconnect and resend the message 3 times, after that, the transaction is rolled back.
172
.. _rabbitmq_version:
177
This documentation applies to :ref:`rabbitmq_0.1_drizzle_7.0`.
179
To see which version of the ``rabbitmq`` plugin a Drizzle server is running,
182
.. code-block:: mysql
184
SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='rabbitmq'
194
.. _rabbitmq_authors: