|
2 | 2 | %% ----------------------------------------------------------------------------
|
3 | 3 | %% RabbitMQ Sample Configuration File.
|
4 | 4 | %%
|
5 |
| -%% See http://www.rabbitmq.com/configure.html for details. |
| 5 | +%% Related doc guide: http://www.rabbitmq.com/configure.html. See |
| 6 | +%% http://rabbitmq.com/documentation.html for documentation ToC. |
6 | 7 | %% ----------------------------------------------------------------------------
|
7 | 8 | [
|
8 | 9 | {rabbit,
|
9 | 10 | [%%
|
10 |
| - %% Network Connectivity |
| 11 | + %% Networking |
11 | 12 | %% ====================
|
12 | 13 | %%
|
| 14 | + %% Related doc guide: http://www.rabbitmq.com/networking.html. |
13 | 15 |
|
14 | 16 | %% By default, RabbitMQ will listen on all interfaces, using
|
15 | 17 | %% the standard (reserved) AMQP port.
|
|
22 | 24 | %% {tcp_listeners, [{"127.0.0.1", 5672},
|
23 | 25 | %% {"::1", 5672}]},
|
24 | 26 |
|
25 |
| - %% SSL listeners are configured in the same fashion as TCP listeners, |
| 27 | + %% TLS listeners are configured in the same fashion as TCP listeners, |
26 | 28 | %% including the option to control the choice of interface.
|
27 | 29 | %%
|
28 | 30 | %% {ssl_listeners, [5671]},
|
29 | 31 |
|
30 | 32 | %% Number of Erlang processes that will accept connections for the TCP
|
31 |
| - %% and SSL listeners. |
| 33 | + %% and TLS listeners. |
32 | 34 | %%
|
33 | 35 | %% {num_tcp_acceptors, 10},
|
34 | 36 | %% {num_ssl_acceptors, 1},
|
35 | 37 |
|
36 | 38 | %% Maximum time for AMQP 0-8/0-9/0-9-1 handshake (after socket connection
|
37 |
| - %% and SSL handshake), in milliseconds. |
| 39 | + %% and TLS handshake), in milliseconds. |
38 | 40 | %%
|
39 | 41 | %% {handshake_timeout, 10000},
|
40 | 42 |
|
|
55 | 57 | %% {reverse_dns_lookups, false},
|
56 | 58 |
|
57 | 59 | %%
|
58 |
| - %% Security / AAA |
59 |
| - %% ============== |
| 60 | + %% Security, Access Control |
| 61 | + %% ======================== |
60 | 62 | %%
|
| 63 | + %% Related doc guide: http://www.rabbitmq.com/access-control.html. |
61 | 64 |
|
62 | 65 | %% The default "guest" user is only permitted to access the server
|
63 | 66 | %% via a loopback interface (e.g. localhost).
|
|
67 | 70 | %% guest user from anywhere on the network.
|
68 | 71 | %% {loopback_users, []},
|
69 | 72 |
|
70 |
| - %% Configuring SSL. |
71 |
| - %% See http://www.rabbitmq.com/ssl.html for full documentation. |
| 73 | + |
| 74 | + %% TLS configuration. |
| 75 | + %% |
| 76 | + %% Related doc guide: http://www.rabbitmq.com/ssl.html. |
72 | 77 | %%
|
73 | 78 | %% {ssl_options, [{cacertfile, "/path/to/testca/cacert.pem"},
|
74 | 79 | %% {certfile, "/path/to/server/cert.pem"},
|
|
81 | 86 | %% 'AMQPLAIN'. Additional mechanisms can be added via
|
82 | 87 | %% plugins.
|
83 | 88 | %%
|
84 |
| - %% See http://www.rabbitmq.com/authentication.html for more details. |
| 89 | + %% Related doc guide: http://www.rabbitmq.com/authentication.html. |
85 | 90 | %%
|
86 | 91 | %% {auth_mechanisms, ['PLAIN', 'AMQPLAIN']},
|
87 | 92 |
|
|
94 | 99 | %% rabbitmq_auth_backend_ldap plugins.
|
95 | 100 | %%
|
96 | 101 | %% NB: These options require that the relevant plugin is enabled.
|
97 |
| - %% See http://www.rabbitmq.com/plugins.html for further details. |
| 102 | + %% Related doc guide: http://www.rabbitmq.com/plugins.html for further details. |
98 | 103 |
|
99 | 104 | %% The RabbitMQ-auth-mechanism-ssl plugin makes it possible to
|
100 |
| - %% authenticate a user based on the client's SSL certificate. |
| 105 | + %% authenticate a user based on the client's TLS certificate. |
101 | 106 | %%
|
102 | 107 | %% To use auth-mechanism-ssl, add to or replace the auth_mechanisms
|
103 | 108 | %% list with the entry 'EXTERNAL'.
|
|
122 | 127 | %% https://github.com/rabbitmq/rabbitmq-auth-mechanism-ssl for further
|
123 | 128 | %% details.
|
124 | 129 | %%
|
125 |
| - %% To use the SSL cert's CN instead of its DN as the username |
| 130 | + %% To use the TLS cert's CN instead of its DN as the username |
126 | 131 | %%
|
127 | 132 | %% {ssl_cert_login_from, distinguished_name},
|
128 | 133 |
|
129 |
| - %% SSL handshake timeout, in milliseconds. |
| 134 | + %% TLS handshake timeout, in milliseconds. |
130 | 135 | %%
|
131 | 136 | %% {ssl_handshake_timeout, 5000},
|
132 | 137 |
|
|
142 | 147 | %% {password_hashing_module, rabbit_password_hashing_sha256},
|
143 | 148 |
|
144 | 149 | %% Configuration entry encryption.
|
145 |
| - %% See http://www.rabbitmq.com/configure.html#configuration-encryption |
| 150 | + %% Related doc guide: http://www.rabbitmq.com/configure.html#configuration-encryption |
146 | 151 | %%
|
147 | 152 | %% To specify the passphrase in the configuration file:
|
148 | 153 | %%
|
|
179 | 184 |
|
180 | 185 | %% Tags for default user
|
181 | 186 | %%
|
182 |
| - %% For more details about tags, see the documentation for the |
183 |
| - %% Management Plugin at http://www.rabbitmq.com/management.html. |
| 187 | + %% Related doc guide: http://www.rabbitmq.com/management.html. |
184 | 188 | %%
|
185 | 189 | %% {default_user_tags, [administrator]},
|
186 | 190 |
|
|
192 | 196 | %% Sets the default AMQP 0-9-1 heartbeat timeout in seconds.
|
193 | 197 | %% Values lower than 6 can produce false positives and are not
|
194 | 198 | %% recommended.
|
195 |
| - %% See http://www.rabbitmq.com/heartbeats.html. |
| 199 | + %% |
| 200 | + %% Related doc guides: |
| 201 | + %% |
| 202 | + %% * http://www.rabbitmq.com/heartbeats.html |
| 203 | + %% * http://www.rabbitmq.com/networking.html |
196 | 204 | %%
|
197 | 205 | %% {heartbeat, 60},
|
198 | 206 |
|
|
212 | 220 |
|
213 | 221 | %% TCP socket options.
|
214 | 222 | %%
|
215 |
| - %% See http://www.rabbitmq.com/networking.html. |
| 223 | + %% Related doc guide: http://www.rabbitmq.com/networking.html. |
216 | 224 | %%
|
217 | 225 | %% {tcp_listen_options, [{backlog, 128},
|
218 | 226 | %% {nodelay, true},
|
|
222 | 230 | %% Resource Limits & Flow Control
|
223 | 231 | %% ==============================
|
224 | 232 | %%
|
225 |
| - %% See http://www.rabbitmq.com/memory.html for full details. |
| 233 | + %% Related doc guide: http://www.rabbitmq.com/memory.html, http://www.rabbitmq.com/memory-use.html. |
226 | 234 |
|
227 | 235 | %% Memory-based Flow Control threshold.
|
228 | 236 | %%
|
|
266 | 274 | %% Introduced in 3.6.11. `allocated` is the default as of 3.6.13.
|
267 | 275 | %% See https://github.com/rabbitmq/rabbitmq-server/issues/1223 and rabbitmq/rabbitmq-common#224 for background.
|
268 | 276 | %% {vm_memory_calculation_strategy, allocated},
|
269 |
| - |
| 277 | + |
270 | 278 | %% Interval (in milliseconds) at which we perform the check of the memory
|
271 | 279 | %% levels against the watermarks.
|
272 | 280 | %%
|
|
303 | 311 | %% * <<"min-masters">>
|
304 | 312 | %% * <<"client-local">>
|
305 | 313 | %% * <<"random">>
|
306 |
| - %% See https://www.rabbitmq.com/ha.html#queue-master-location |
| 314 | + %% |
| 315 | + %% Related doc guide: https://www.rabbitmq.com/ha.html#queue-master-location |
307 | 316 | %%
|
308 | 317 | %% {queue_master_locator, <<"client-local">>},
|
309 | 318 |
|
310 | 319 | %% Batch size (number of messages) used during eager queue mirror synchronisation.
|
311 |
| - %% See https://www.rabbitmq.com/ha.html#batch-sync. When average message size is relatively large |
| 320 | + %% Related doc guide: https://www.rabbitmq.com/ha.html#batch-sync. When average message size is relatively large |
312 | 321 | %% (say, 10s of kilobytes or greater), reducing this value will decrease peak amount
|
313 | 322 | %% of RAM used by newly joining nodes that need eager synchronisation.
|
314 | 323 | %%
|
|
326 | 335 | %% {server_properties, []},
|
327 | 336 |
|
328 | 337 | %% How to respond to cluster partitions.
|
329 |
| - %% See http://www.rabbitmq.com/partitions.html |
| 338 | + %% Related doc guide: http://www.rabbitmq.com/partitions.html |
330 | 339 | %%
|
331 | 340 | %% {cluster_partition_handling, ignore},
|
332 | 341 |
|
333 | 342 | %% Make clustering happen *automatically* at startup - only applied
|
334 | 343 | %% to nodes that have just been reset or started for the first time.
|
335 |
| - %% See http://www.rabbitmq.com/clustering.html#auto-config |
| 344 | + %% Related doc guide: http://www.rabbitmq.com/clustering.html#auto-config |
336 | 345 | %%
|
337 | 346 | %% {cluster_nodes, {['[email protected]'], disc}},
|
338 | 347 |
|
|
378 | 387 | %% {mnesia_table_loading_retry_timeout, 30000},
|
379 | 388 |
|
380 | 389 | %% Size in bytes below which to embed messages in the queue index.
|
381 |
| - %% See http://www.rabbitmq.com/persistence-conf.html |
| 390 | + %% Related doc guide: http://www.rabbitmq.com/persistence-conf.html |
382 | 391 | %%
|
383 | 392 | %% {queue_index_embed_msgs_below, 4096},
|
384 | 393 |
|
385 | 394 | %% Maximum number of queue index entries to keep in journal
|
386 |
| - %% See http://www.rabbitmq.com/persistence-conf.html. |
| 395 | + %% Related doc guide: http://www.rabbitmq.com/persistence-conf.html. |
387 | 396 | %%
|
388 | 397 | %% {queue_index_max_journal_entries, 32768},
|
389 | 398 |
|
|
408 | 417 | %% Increasing these values may help with throughput but also can be dangerous:
|
409 | 418 | %% high credit flow values are no different from not having flow control at all.
|
410 | 419 | %%
|
411 |
| - %% See https://www.rabbitmq.com/blog/2015/10/06/new-credit-flow-settings-on-rabbitmq-3-5-5/ |
| 420 | + %% Related doc guide: https://www.rabbitmq.com/blog/2015/10/06/new-credit-flow-settings-on-rabbitmq-3-5-5/ |
412 | 421 | %% and http://alvaro-videla.com/2013/09/rabbitmq-internals-credit-flow-for-erlang-processes.html.
|
413 | 422 | %%
|
414 | 423 | %% {credit_flow_default_credit, {400, 200}},
|
|
466 | 475 | %% ----------------------------------------------------------------------------
|
467 | 476 | %% Advanced Erlang Networking/Clustering Options.
|
468 | 477 | %%
|
469 |
| - %% See http://www.rabbitmq.com/clustering.html for details |
| 478 | + %% Related doc guide: http://www.rabbitmq.com/clustering.html |
470 | 479 | %% ----------------------------------------------------------------------------
|
471 | 480 | {kernel,
|
472 | 481 | [%% Sets the net_kernel tick time.
|
|
479 | 488 | %% ----------------------------------------------------------------------------
|
480 | 489 | %% RabbitMQ Management Plugin
|
481 | 490 | %%
|
482 |
| - %% See http://www.rabbitmq.com/management.html for details |
| 491 | + %% Related doc guide: http://www.rabbitmq.com/management.html |
483 | 492 | %% ----------------------------------------------------------------------------
|
484 | 493 |
|
485 | 494 | {rabbitmq_management,
|
486 |
| - [%% Pre-Load schema definitions from the following JSON file. See |
| 495 | + [%% Preload schema definitions from a previously exported definitions file. See |
487 | 496 | %% http://www.rabbitmq.com/management.html#load-definitions
|
488 | 497 | %%
|
489 |
| - %% {load_definitions, "/path/to/schema.json"}, |
| 498 | + %% {load_definitions, "/path/to/exported/definitions.json"}, |
490 | 499 |
|
491 |
| - %% Log all requests to the management HTTP API to a file. |
| 500 | + %% Log all requests to the management HTTP API to a directory. |
492 | 501 | %%
|
493 |
| - %% {http_log_dir, "/path/to/access.log"}, |
| 502 | + %% {http_log_dir, "/path/to/rabbitmq/logs/http"}, |
494 | 503 |
|
495 | 504 | %% Change the port on which the HTTP listener listens,
|
496 | 505 | %% specifying an interface for the web server to bind to.
|
497 |
| - %% Also set the listener to use SSL and provide SSL options. |
| 506 | + %% Also set the listener to use TLS and provide TLS options. |
498 | 507 | %%
|
499 | 508 | %% {listener, [{port, 12345},
|
500 | 509 | %% {ip, "127.0.0.1"},
|
|
521 | 530 | %% ----------------------------------------------------------------------------
|
522 | 531 | %% RabbitMQ Shovel Plugin
|
523 | 532 | %%
|
524 |
| - %% See http://www.rabbitmq.com/shovel.html for details |
| 533 | + %% Related doc guide: http://www.rabbitmq.com/shovel.html |
525 | 534 | %% ----------------------------------------------------------------------------
|
526 | 535 |
|
527 | 536 | {rabbitmq_shovel,
|
|
587 | 596 | ]},
|
588 | 597 |
|
589 | 598 | %% ----------------------------------------------------------------------------
|
590 |
| - %% RabbitMQ Stomp Adapter |
| 599 | + %% RabbitMQ STOMP Plugin |
591 | 600 | %%
|
592 |
| - %% See http://www.rabbitmq.com/stomp.html for details |
| 601 | + %% Related doc guide: http://www.rabbitmq.com/stomp.html |
593 | 602 | %% ----------------------------------------------------------------------------
|
594 | 603 |
|
595 | 604 | {rabbitmq_stomp,
|
|
599 | 608 | %% {tcp_listeners, [{"127.0.0.1", 61613},
|
600 | 609 | %% {"::1", 61613}]},
|
601 | 610 |
|
602 |
| - %% Listen for SSL connections on a specific port. |
| 611 | + %% Listen for TLS connections on a specific port. |
603 | 612 | %% {ssl_listeners, [61614]},
|
604 | 613 |
|
605 | 614 | %% Number of Erlang processes that will accept connections for the TCP
|
606 |
| - %% and SSL listeners. |
| 615 | + %% and TLS listeners. |
607 | 616 | %%
|
608 | 617 | %% {num_tcp_acceptors, 10},
|
609 | 618 | %% {num_ssl_acceptors, 1},
|
610 | 619 |
|
611 |
| - %% Additional SSL options |
| 620 | + %% Additional TLS options |
612 | 621 |
|
613 |
| - %% Extract a name from the client's certificate when using SSL. |
| 622 | + %% Extract a name from the client's certificate when using TLS. |
614 | 623 | %%
|
615 | 624 | %% {ssl_cert_login, true},
|
616 | 625 |
|
|
623 | 632 | %% {default_user, [{login, "guest"},
|
624 | 633 | %% {passcode, "guest"}]},
|
625 | 634 |
|
626 |
| - %% If a default user is configured, or you have configured use SSL client |
| 635 | + %% If a default user is configured, or you have configured use TLS client |
627 | 636 | %% certificate based authentication, you can choose to allow clients to
|
628 | 637 | %% omit the CONNECT frame entirely. If set to true, the client is
|
629 | 638 | %% automatically connected as the default user or user supplied in the
|
630 |
| - %% SSL certificate whenever the first frame sent on a session is not a |
| 639 | + %% TLS certificate whenever the first frame sent on a session is not a |
631 | 640 | %% CONNECT frame.
|
632 | 641 | %%
|
633 | 642 | %% {implicit_connect, true}
|
634 | 643 | ]},
|
635 | 644 |
|
636 | 645 | %% ----------------------------------------------------------------------------
|
637 |
| - %% RabbitMQ MQTT Adapter |
| 646 | + %% RabbitMQ MQTT Plugin |
| 647 | + %% |
| 648 | + %% Related doc guide: https://github.com/rabbitmq/rabbitmq-mqtt/blob/stable/README.md |
638 | 649 | %%
|
639 |
| - %% See https://github.com/rabbitmq/rabbitmq-mqtt/blob/stable/README.md |
640 |
| - %% for details |
641 | 650 | %% ----------------------------------------------------------------------------
|
642 | 651 |
|
643 | 652 | {rabbitmq_mqtt,
|
|
700 | 709 | %% ----------------------------------------------------------------------------
|
701 | 710 | %% RabbitMQ AMQP 1.0 Support
|
702 | 711 | %%
|
703 |
| - %% See https://github.com/rabbitmq/rabbitmq-amqp1.0/blob/stable/README.md |
704 |
| - %% for details |
| 712 | + %% Related doc guide: https://github.com/rabbitmq/rabbitmq-amqp1.0/blob/stable/README.md |
| 713 | + %% |
705 | 714 | %% ----------------------------------------------------------------------------
|
706 | 715 |
|
707 | 716 | {rabbitmq_amqp1_0,
|
|
721 | 730 | %% ----------------------------------------------------------------------------
|
722 | 731 | %% RabbitMQ LDAP Plugin
|
723 | 732 | %%
|
724 |
| - %% See http://www.rabbitmq.com/ldap.html for details. |
| 733 | + %% Related doc guide: http://www.rabbitmq.com/ldap.html. |
725 | 734 | %%
|
726 | 735 | %% ----------------------------------------------------------------------------
|
727 | 736 |
|
|
736 | 745 | %%
|
737 | 746 | %% {servers, ["your-server-name-goes-here"]},
|
738 | 747 |
|
739 |
| - %% Connect to the LDAP server using SSL |
| 748 | + %% Connect to the LDAP server using TLS |
740 | 749 | %%
|
741 | 750 | %% {use_ssl, false},
|
742 | 751 |
|
|
0 commit comments