|
470 | 470 | ## Disabling background GC may reduce latency for client operations, |
471 | 471 | ## keeping it enabled may reduce median RAM usage by the binary heap |
472 | 472 | ## (see https://www.erlang-solutions.com/blog/erlang-garbage-collector.html). |
473 | | -## |
| 473 | +## |
474 | 474 | ## Before trying this option, please take a look at the memory |
475 | 475 | ## breakdown (http://www.rabbitmq.com/memory-use.html). |
476 | 476 | ## |
|
503 | 503 | # Kernel section |
504 | 504 | # ====================================== |
505 | 505 |
|
| 506 | +## Timeout used to detect peer unavailability, including CLI tools. |
| 507 | +## Related doc guide: https://www.rabbitmq.com/nettick.html. |
| 508 | +## |
506 | 509 | # net_ticktime = 60 |
507 | 510 |
|
| 511 | +## Inter-node communication port range. |
| 512 | +## Related doc guide: https://www.rabbitmq.com/networking.html#epmd-inet-dist-port-range. |
| 513 | +## |
| 514 | +# inet_dist_listen_min = 25672 |
| 515 | +# inet_dist_listen_max = 25692 |
| 516 | + |
508 | 517 | ## ---------------------------------------------------------------------------- |
509 | 518 | ## RabbitMQ Management Plugin |
510 | 519 | ## |
|
524 | 533 | ## |
525 | 534 | # management.http_log_dir = /path/to/access.log |
526 | 535 |
|
527 | | -## Change the port on which the HTTP listener listens, |
528 | | -## specifying an interface for the web server to bind to. |
529 | | -## Also set the listener to use TLS and provide TLS options. |
530 | | -## |
| 536 | +## HTTP listener and embedded Web server settings. |
| 537 | +# ## See https://rabbitmq.com/management.html for details. |
| 538 | +# |
| 539 | +# management.tcp.port = 15672 |
| 540 | +# management.tcp.ip = 0.0.0.0 |
| 541 | +# |
| 542 | +# management.tcp.shutdown_timeout = 7000 |
| 543 | +# management.tcp.max_keepalive = 120 |
| 544 | +# management.tcp.idle_timeout = 120 |
| 545 | +# management.tcp.inactivity_timeout = 120 |
| 546 | +# management.tcp.request_timeout = 120 |
| 547 | +# management.tcp.compress = true |
| 548 | + |
| 549 | +## HTTPS listener settings. |
| 550 | +## See https://rabbitmq.com/management.html and https://rabbitmq.com/ssl.html for details. |
| 551 | +## |
| 552 | +# management.ssl.port = 15671 |
| 553 | +# management.ssl.cacertfile = /path/to/ca_certificate.pem |
| 554 | +# management.ssl.certfile = /path/to/server_certificate.pem |
| 555 | +# management.ssl.keyfile = /path/to/server_key.pem |
| 556 | + |
| 557 | +## More TLS options |
| 558 | +# management.ssl.honor_cipher_order = true |
| 559 | +# management.ssl.honor_ecc_order = true |
| 560 | +# management.ssl.client_renegotiation = false |
| 561 | +# management.ssl.secure_renegotiate = true |
| 562 | + |
| 563 | +## Supported TLS versions |
| 564 | +# management.ssl.versions.1 = tlsv1.2 |
| 565 | +# management.ssl.versions.2 = tlsv1.1 |
| 566 | + |
| 567 | +## Cipher suites the server is allowed to use |
| 568 | +# management.ssl.ciphers.1 = ECDHE-ECDSA-AES256-GCM-SHA384 |
| 569 | +# management.ssl.ciphers.2 = ECDHE-RSA-AES256-GCM-SHA384 |
| 570 | +# management.ssl.ciphers.3 = ECDHE-ECDSA-AES256-SHA384 |
| 571 | +# management.ssl.ciphers.4 = ECDHE-RSA-AES256-SHA384 |
| 572 | +# management.ssl.ciphers.5 = ECDH-ECDSA-AES256-GCM-SHA384 |
| 573 | +# management.ssl.ciphers.6 = ECDH-RSA-AES256-GCM-SHA384 |
| 574 | +# management.ssl.ciphers.7 = ECDH-ECDSA-AES256-SHA384 |
| 575 | +# management.ssl.ciphers.8 = ECDH-RSA-AES256-SHA384 |
| 576 | +# management.ssl.ciphers.9 = DHE-RSA-AES256-GCM-SHA384 |
531 | 577 |
|
532 | | -# management.listener.port = 15672 |
533 | | -# management.listener.ip = 127.0.0.1 |
534 | | -# management.listener.ssl = true |
535 | 578 |
|
536 | | -# management.listener.ssl_opts.cacertfile = /path/to/cacert.pem |
537 | | -# management.listener.ssl_opts.certfile = /path/to/cert.pem |
538 | | -# management.listener.ssl_opts.keyfile = /path/to/key.pem |
539 | 579 |
|
540 | 580 | ## One of 'basic', 'detailed' or 'none'. See |
541 | 581 | ## http://rabbitmq.com/management.html#fine-stats for more details. |
|
574 | 614 | # STOMP section |
575 | 615 | # ======================================= |
576 | 616 |
|
577 | | -## Network Configuration. The format is generally the same as for the core broker. |
| 617 | +## See https://rabbitmq.com/stomp.html for details. |
| 618 | + |
| 619 | +## TCP listeners. |
578 | 620 | ## |
579 | | -# stomp.listeners.tcp.default = 61613 |
| 621 | +# stomp.listeners.tcp.1 = 127.0.0.1:61613 |
| 622 | +# stomp.listeners.tcp.2 = ::1:61613 |
580 | 623 |
|
581 | | -## Same for ssl listeners |
| 624 | +## TCP listener settings |
582 | 625 | ## |
| 626 | +# stomp.tcp_listen_options.backlog = 2048 |
| 627 | +# stomp.tcp_listen_options.recbuf = 131072 |
| 628 | +# stomp.tcp_listen_options.sndbuf = 131072 |
| 629 | +# |
| 630 | +# stomp.tcp_listen_options.keepalive = true |
| 631 | +# stomp.tcp_listen_options.nodelay = true |
| 632 | +# |
| 633 | +# stomp.tcp_listen_options.exit_on_close = true |
| 634 | +# stomp.tcp_listen_options.send_timeout = 120 |
| 635 | + |
| 636 | +## Proxy protocol support |
| 637 | +## |
| 638 | +# stomp.proxy_protocol = false |
| 639 | + |
| 640 | +## TLS listeners |
| 641 | +## See https://rabbitmq.com/stomp.html and https://rabbitmq.com/ssl.html for details. |
583 | 642 | # stomp.listeners.ssl.default = 61614 |
| 643 | +# |
| 644 | +# ssl_options.cacertfile = path/to/cacert.pem |
| 645 | +# ssl_options.certfile = path/to/cert.pem |
| 646 | +# ssl_options.keyfile = path/to/key.pem |
| 647 | +# ssl_options.verify = verify_peer |
| 648 | +# ssl_options.fail_if_no_peer_cert = true |
| 649 | + |
584 | 650 |
|
585 | 651 | ## Number of Erlang processes that will accept connections for the TCP |
586 | 652 | ## and TLS listeners. |
|
633 | 699 | # MQTT section |
634 | 700 | # ======================================= |
635 | 701 |
|
| 702 | +## TCP listener settings. |
| 703 | +## |
| 704 | +# mqtt.listeners.tcp.1 = 127.0.0.1:61613 |
| 705 | +# mqtt.listeners.tcp.2 = ::1:61613 |
| 706 | + |
| 707 | +## TCP listener options (as per the broker configuration). |
| 708 | +## |
| 709 | +# mqtt.tcp_listen_options.backlog = 4096 |
| 710 | +# mqtt.tcp_listen_options.recbuf = 131072 |
| 711 | +# mqtt.tcp_listen_options.sndbuf = 131072 |
| 712 | +# |
| 713 | +# mqtt.tcp_listen_options.keepalive = true |
| 714 | +# mqtt.tcp_listen_options.nodelay = true |
| 715 | +# |
| 716 | +# mqtt.tcp_listen_options.exit_on_close = true |
| 717 | +# mqtt.tcp_listen_options.send_timeout = 120 |
| 718 | + |
| 719 | +## TLS listener settings |
| 720 | +## ## See https://rabbitmq.com/mqtt.html and https://rabbitmq.com/ssl.html for details. |
| 721 | +# |
| 722 | +# mqtt.listeners.ssl.default = 8883 |
| 723 | +# |
| 724 | +# ssl_options.cacertfile = /path/to/tls/ca_certificate_bundle.pem |
| 725 | +# ssl_options.certfile = /path/to/tls/server_certificate.pem |
| 726 | +# ssl_options.keyfile = /path/to/tls/server_key.pem |
| 727 | +# ssl_options.verify = verify_peer |
| 728 | +# ssl_options.fail_if_no_peer_cert = true |
| 729 | +# |
| 730 | + |
| 731 | + |
| 732 | +## Number of Erlang processes that will accept connections for the TCP |
| 733 | +## and TLS listeners. |
| 734 | +## |
| 735 | +# mqtt.num_acceptors.tcp = 10 |
| 736 | +# mqtt.num_acceptors.ssl = 10 |
| 737 | + |
| 738 | +## Whether or not to enable proxy protocol support. |
| 739 | +## Once enabled, clients cannot directly connect to the broker |
| 740 | +## anymore. They must connect through a load balancer that sends the |
| 741 | +## proxy protocol header to the broker at connection time. |
| 742 | +## This setting applies only to STOMP clients, other protocols |
| 743 | +## like STOMP or AMQP have their own setting to enable proxy protocol. |
| 744 | +## See the plugins or broker documentation for more information. |
| 745 | +## |
| 746 | +# mqtt.proxy_protocol = false |
| 747 | + |
636 | 748 | ## Set the default user name and password used for anonymous connections (when client |
637 | 749 | ## provides no credentials). Anonymous connections are highly discouraged! |
638 | 750 | ## |
|
663 | 775 | ## |
664 | 776 | # mqtt.prefetch = 10 |
665 | 777 |
|
666 | | -## TCP/SSL Configuration (as per the broker configuration). |
667 | | -## |
668 | | -# mqtt.listeners.tcp.default = 1883 |
669 | | - |
670 | | -## Same for ssl listener |
671 | | -## |
672 | | -# mqtt.listeners.ssl.default = 1884 |
673 | | - |
674 | | -## Number of Erlang processes that will accept connections for the TCP |
675 | | -## and TLS listeners. |
676 | | -## |
677 | | -# mqtt.num_acceptors.tcp = 10 |
678 | | -# mqtt.num_acceptors.ssl = 10 |
679 | | - |
680 | | -## TCP listener options (as per the broker configuration). |
681 | | -## |
682 | | -# mqtt.tcp_listen_options.backlog = 128 |
683 | | -# mqtt.tcp_listen_options.nodelay = true |
684 | | - |
685 | | -## Whether or not to enable proxy protocol support. |
686 | | -## Once enabled, clients cannot directly connect to the broker |
687 | | -## anymore. They must connect through a load balancer that sends the |
688 | | -## proxy protocol header to the broker at connection time. |
689 | | -## This setting applies only to STOMP clients, other protocols |
690 | | -## like STOMP or AMQP have their own setting to enable proxy protocol. |
691 | | -## See the plugins or broker documentation for more information. |
692 | | -## |
693 | | -# mqtt.proxy_protocol = false |
694 | 778 |
|
695 | 779 | ## ---------------------------------------------------------------------------- |
696 | 780 | ## RabbitMQ AMQP 1.0 Support |
|
0 commit comments