Commit Graph

1387 Commits

Author SHA1 Message Date
Michael Klishin 040f8cc912
Replace a few more leftover MPLv1.1 license headers
Most files have been using the MPLv2 headers for months now.
These were detected by the OSL process.
2021-05-19 21:20:47 +03:00
Philip Kuryloski e6df6615e1 Futher bazel file refactoring and deduplication 2021-05-11 16:15:33 +02:00
Philip Kuryloski 4c4b156daf Refactor rabbitmq_stomp bazel build file 2021-05-06 11:18:31 +02:00
Arnaud Cogoluègnes f5341878bc
Use = separator for stream offset STOMP
For offset (e.g. offset=5000) and timestamp (timetamp=5000).
It was ":" before, but this is already the separator for key/value
in STOMP headers. This was actually working with the client used
to test, but other clients may get confused.

References #3002.
2021-04-26 14:38:43 +02:00
Arnaud Cogoluègnes 065b92114d
Support streams in STOMP plugin
This commit introduces the support of an x-stream-offset header
in the SUBSCRIBE frame to start consuming from a specific place
in a stream. The possible values are first, last, next, offset:<offset-value>
(e.g. offset:40000), timestamp:<timestamp-in-seconds> (e.g. timestamp:1619428685).

This commit also propagates the x-stream-offset header in the MESSAGE frame
to know the offset of a the delivered message in the stream.
2021-04-26 11:15:55 +02:00
Philip Kuryloski e4aceb53a0 Add rabbitmq_stomp to bazel 2021-04-14 12:44:16 +02:00
Carl Hörberg 681cb78b0d Test that proxy dest address is picked up in all plugins 2021-03-31 11:28:40 +02:00
Philip Kuryloski 388654c542
Add a partial Bazel build (#2938)
Adds WORKSPACE.bazel, BUILD.bazel & *.bzl files for partial build & test with Bazel. Introduces a build-time dependency on https://github.com/rabbitmq/bazel-erlang
2021-03-29 11:01:43 +02:00
Michael Klishin 1587e080b9
STOMP: remove a flaky Python test already covered in Erlang 2021-03-22 20:03:08 +03:00
Philip Kuryloski a63f169fcb Remove duplicate rabbitmq-components.mk and erlang.mk files
Also adjust the references in rabbitmq-components.mk to account for
post monorepo locations
2021-03-22 15:40:19 +01:00
Michael Klishin 5e0d7041cd
Merge pull request #2910 from rabbitmq/configure-num-conns-sup
Make ranch parameter `num_conns_sups` configurable
2021-03-19 21:59:30 +03:00
dcorbacho a41ece3950 Make ranch parameter `num_conns_sups` configurable
Defaults to 1
rabbit - num_conns_sup
rabbitmq_mqtt - num_conns_sup
rabbitmq_stomp - num_conns_sup
2021-03-18 21:38:13 +01:00
kjnilsson 52f745dcde Update rabbitmq-components.mk
use v1.x branch of ra
2021-03-18 15:14:40 +00:00
Michael Klishin ca201bbd7d
STOMP: upgrade Python suite(s) to stomp.py 6.x 2021-03-13 06:08:27 +03:00
Michael Klishin 6598dafe90
STOMP: add a runner to transactions.py 2021-03-13 06:00:10 +03:00
Loïc Hoguin d5e3bdd623
Add ADDITIONAL_PLUGINS variable
This allows including additional applications or third party
plugins when creating a release, running the broker locally,
or just building from the top-level Makefile.

To include Looking Glass in a release, for example:

$ make package-generic-unix ADDITIONAL_PLUGINS="looking_glass"

A Docker image can then be built using this release and will
contain Looking Glass:

$ make docker-image

Beware macOS users! Applications such as Looking Glass include
NIFs. NIFs must be compiled in the right environment. If you
are building a Docker image then make sure to build the NIF
on Linux! In the two steps above, this corresponds to Step 1.

To run the broker with Looking Glass available:

$ make run-broker ADDITIONAL_PLUGINS="looking_glass"

This commit also moves Looking Glass dependency information
into rabbitmq-components.mk so it is available at all times.
2021-03-12 12:29:28 +01:00
Michael Klishin 32814fb664
STOMP: continue modernizing stomp.py test suites 2021-03-12 09:31:39 +03:00
Michael Klishin bc769343bb
STOMP: stomp.py suite cosmetics 2021-03-12 07:31:52 +03:00
Michael Klishin a5cd08394e
STOMP: further stomp.py suite modernization steps 2021-03-12 07:25:15 +03:00
Michael Klishin 17cb24deb4
Rename a STOMP test suite 2021-03-12 07:25:15 +03:00
Michael Klishin 0801b61e8f
STOMP: run Python tests on Python 3 2021-03-11 22:03:29 +03:00
Michael Klishin 97ff62d3b2
Drop trailing newlines from logged messages where possible
Lager strips trailing newline characters but OTP logger with the default
formatter adds a newline at the end. To avoid unintentional multi-line log
messages we have to revisit most messages logged.

Some log entries are intentionally multiline, others
are printed to stdout directly: newlines are required there
for sensible formatting.
2021-03-11 15:17:37 +01:00
Jean-Sébastien Pédron cdcf602749
Switch from Lager to the new Erlang Logger API for logging
The configuration remains the same for the end-user. The only exception
is the log root directory: it is now set through the `log_root`
application env. variable in `rabbit`. People using the Cuttlefish-based
configuration file are not affected by this exception.

The main change is how the logging facility is configured. It now
happens in `rabbit_prelaunch_logging`. The `rabbit_lager` module is
removed.

The supported outputs remain the same: the console, text files, the
`amq.rabbitmq.log` exchange and syslog.

The message text format slightly changed: the timestamp is more precise
(now to the microsecond) and the level can be abbreviated to always be
4-character long to align all messages and improve readability. Here is
an example:

    2021-03-03 10:22:30.377392+01:00 [dbug] <0.229.0> == Prelaunch DONE ==
    2021-03-03 10:22:30.377860+01:00 [info] <0.229.0>
    2021-03-03 10:22:30.377860+01:00 [info] <0.229.0>  Starting RabbitMQ 3.8.10+115.g071f3fb on Erlang 23.2.5
    2021-03-03 10:22:30.377860+01:00 [info] <0.229.0>  Licensed under the MPL 2.0. Website: https://rabbitmq.com

The example above also shows that multiline messages are supported and
each line is prepended with the same prefix (the timestamp, the level
and the Erlang process PID).

JSON is also supported as a message format and now for any outputs.
Indeed, it is possible to use it with e.g. syslog or the exchange. Here
is an example of a JSON-formatted message sent to syslog:

    Mar  3 11:23:06 localhost rabbitmq-server[27908] <0.229.0> - {"time":"2021-03-03T11:23:06.998466+01:00","level":"notice","msg":"Logging: configured log handlers are now ACTIVE","meta":{"domain":"rabbitmq.prelaunch","file":"src/rabbit_prelaunch_logging.erl","gl":"<0.228.0>","line":311,"mfa":["rabbit_prelaunch_logging","configure_logger",1],"pid":"<0.229.0>"}}

For quick testing, the values accepted by the `$RABBITMQ_LOGS`
environment variables were extended:
  * `-` still means stdout
  * `-stderr` means stderr
  * `syslog:` means syslog on localhost
  * `exchange:` means logging to `amq.rabbitmq.log`

`$RABBITMQ_LOG` was also extended. It now accepts a `+json` modifier (in
addition to the existing `+color` one). With that modifier, messages are
formatted as JSON intead of plain text.

The `rabbitmqctl rotate_logs` command is deprecated. The reason is
Logger does not expose a function to force log rotation. However, it
will detect when a file was rotated by an external tool.

From a developer point of view, the old `rabbit_log*` API remains
supported, though it is now deprecated. It is implemented as regular
modules: there is no `parse_transform` involved anymore.

In the code, it is recommended to use the new Logger macros. For
instance, `?LOG_INFO(Format, Args)`. If possible, messages should be
augmented with some metadata. For instance (note the map after the
message):

    ?LOG_NOTICE("Logging: switching to configured handler(s); following "
                "messages may not be visible in this log output",
                #{domain => ?RMQLOG_DOMAIN_PRELAUNCH}),

Domains in Erlang Logger parlance are the way to categorize messages.
Some predefined domains, matching previous categories, are currently
defined in `rabbit_common/include/logging.hrl` or headers in the
relevant plugins for plugin-specific categories.

At this point, very few messages have been converted from the old
`rabbit_log*` API to the new macros. It can be done gradually when
working on a particular module or logging.

The Erlang builtin console/file handler, `logger_std_h`, has been forked
because it lacks date-based file rotation. The configuration of
date-based rotation is identical to Lager. Once the dust has settled for
this feature, the goal is to submit it upstream for inclusion in Erlang.
The forked module is calld `rabbit_logger_std_h` and is based
`logger_std_h` in Erlang 23.0.
2021-03-11 15:17:36 +01:00
Michael Klishin a7387b9a1f
Squash two more warnings on Erlang 24 2021-03-11 15:16:51 +01:00
Michael Klishin 3c38b42226
STOMP: modernize Python test suite
* Upgrade to stomp.py 4.1.24 to gain Python 3.9 compatibility
 * Adjust to modern client/plugin disconnection delay
 * Remove tests that are not really possible to test with
   a regular well-behaved client (missed heartbeats)
2021-03-10 07:35:34 +03:00
dcorbacho 9a0fe95e94 Update ranch supervisor structure on list/0 command 2021-03-09 16:08:46 +01:00
dcorbacho 61f7b2a723 Update to ranch 2.0 2021-03-08 23:11:05 +01:00
Michael Klishin b6c4831e75
Bump Lager to 3.9.1 2021-03-04 04:36:39 +03:00
Loïc Hoguin 66ac1bf5e9
Bump observer_cli to 1.6.1
More responsive when the system is overloaded with file calls.
2021-03-01 21:55:27 +03:00
Michael Klishin 8fe3df9343
Upgrade Lager to 3.9.0 for OTP 24 compatibility
`lager_util:expand_path/1` use changes are
due to erlang-lager/lager#540
2021-02-26 00:52:15 +03:00
Michael Klishin f73e851f9c
Bump observer_cli to 1.6.0 2021-02-24 12:53:55 +03:00
Michael Klishin a5098b28a7
Bump Lager to 3.8.2 for OTP 24 compatibility 2021-02-24 12:53:30 +03:00
Michael Klishin b11a79cccf
Bump (c) year in header files 2021-02-04 07:04:58 +03:00
Arnaud Cogoluègnes b921ac11a8
Merge pull request #2712 from rabbitmq/rabbitmq-stream-prometheus
Add stream prometheus plugin
2021-01-27 16:46:37 +01:00
Michael Klishin 52479099ec
Bump (c) year 2021-01-22 09:00:14 +03:00
Arnaud Cogoluègnes bf72683eb2
Add stream prometheus plugin 2021-01-11 16:49:56 +01:00
Arnaud Cogoluègnes 08891a734e
Merge branch 'master' into rabbitmq-stream-management 2020-11-30 09:42:54 +01:00
Arnaud Cogoluègnes 23d7e8114c
Introduce stream management plugin 2020-11-19 14:48:25 +01:00
dcorbacho 83f3eb1a4a
Test stream queues with STOMP
Stream queues require prefetch count and manual acknowledgment

(cherry picked from commit 45d3c3fecbf9f9782851bf580620a50bb4692a45)
2020-11-17 08:28:30 -08:00
Jean-Sébastien Pédron 47686ee1f0
Remove unused .github directories
They were valid until the switch to the "monorepository" when everything
was merged into a single Git repository.
2020-11-17 13:33:16 +01:00
Arnaud Cogoluègnes 7e75f72bef Update rabbitmq-components.mk 2020-11-03 14:27:50 +01:00
Michael Klishin a229e6907d Update rabbitmq-components.mk 2020-10-21 12:55:46 +03:00
Luke Bakken 88bfc02567 Update rabbitmq-components.mk 2020-08-04 08:41:50 -07:00
Jean-Sébastien Pédron f6a58a4341 Update rabbitmq-components.mk 2020-07-30 12:06:57 +02:00
Luke Bakken 4efa6b4075 Update rabbitmq-components.mk 2020-07-29 10:02:06 -07:00
dcorbacho 30e8f2edc9 Update erlang.mk 2020-07-21 14:33:49 +01:00
Michael Klishin 8eb20c709d Update rabbitmq-components.mk 2020-07-21 13:12:55 +03:00
dcorbacho 7d8a4e8445 Revert drop of Exhibit B on MPL 2.0 2020-07-20 17:04:17 +01:00
dcorbacho 4a5d9bf98d Update LICENSE 2020-07-20 12:20:54 +01:00
Michael Klishin 0962851d57 Update MPL2 license file, drop Exhibit B
and add a VMware copyright notice.

We did not mean to make this code Incompatible with Secondary Licenses
as defined in [1].

1. https://www.mozilla.org/en-US/MPL/2.0/FAQ/
2020-07-17 14:53:09 +03:00
Michael Klishin 921a3c29a2 Switch to MPL2 2020-07-14 21:55:55 +03:00
Michael Klishin 5beb768bae Extract rabbit_networking:stop_ranch_listener_of_protocol/1
Part of rabbitmq/rabbitmq-server#2321
2020-07-09 22:02:09 +03:00
Michael Klishin dc37ab2946 Make sure STOMP plugin closes its connections when a node is put into maintenance mode
Part of rabbitmq/rabbitmq-server#2321
2020-07-08 20:01:07 +03:00
Michael Klishin 55efce25fd Unify Ranch ref construction for all listeners
This makes the refs predictable and easy to compute
from a listener record. Then suspending all listeners
becomes a lot simpler.

While at it, make protocol applications clean up
their listeners when they stop. This way tests
and other callers that have to stop the app
would not need to know anything about
its listeners.

Part of rabbitmq/rabbitmq-server#2321
2020-06-24 04:27:34 +03:00
Jean-Sébastien Pédron 09721cb3a3 Update erlang.mk 2020-06-23 17:15:33 +02:00
Michael Klishin af84fbdd4e Use a supervisor flag map here 2020-06-18 02:23:15 +03:00
Michael Klishin 95309a45f0 Bump Recon to 2.5.1
for Erlang 23 compatibility of 'rabbitmq-diagnostics observer'

References zhongwencool/observer_cli#68.
2020-06-09 08:22:15 +03:00
Jean-Sébastien Pédron d0e3ff9f45 python_SUITE: Add more log messages to test_util.py
Hopefully we should learn more when we hit another failure with the
plugin failing to listen to its TCP port.

While here, remove the try/catch block around the execution of
rabbitmqctl(8):
* It swallowed the exception and the error was ignored, hoping
  subsequent line would cause the testcase to fail.
* The print() was misformed: the `.format()` call was applied to the
  print() return value, not the string, leading to a useless message being
  printed.
* CalledProcessError.stderr does not exist according to the
  documentation, so even if the print() was correct, it would never work.

subprocess already prints the command output to stdout. So let's get rid
of this try/catch which only broke things in many ways.
2020-05-12 17:25:57 +02:00
Michael Klishin 3a21959f1c Cuttlefish schema: comment edits 2020-03-20 11:29:54 +03:00
Goran Udosic 4ea3748ff0 Avoid using application:get_env on hot code path 2020-03-20 08:18:34 +01:00
Goran Udosic 08f7512b80 Allow controlling nack requeue on plugin level 2020-03-19 09:18:55 +01:00
Jean-Sébastien Pédron 594d331904 Update copyright (year 2020) 2020-03-10 16:51:40 +01:00
Gerhard Lazu adae0871d6 Update rabbitmq-components.mk 2020-03-06 09:19:21 +00:00
Gerhard Lazu d9f12d6871 Update erlang.mk 2020-03-06 09:18:31 +00:00
Jean-Sébastien Pédron ebe1cb579f Travis CI: Update config from rabbitmq-common 2020-03-04 14:24:32 +01:00
Jean-Sébastien Pédron 397a5fcff3 Travis CI: Update config from rabbitmq-common 2020-03-04 11:17:19 +01:00
Jean-Sébastien Pédron e0aa1764bb Travis CI: Update config from rabbitmq-common 2020-03-03 14:53:42 +01:00
Jean-Sébastien Pédron cb095c20e9 python_SUITE: Use Pika 1.1.0
Pika 0.12.0 fails to compile for me with the latest Python 3.7.x (3.7.6
here).
2020-02-28 10:03:15 +01:00
Gerhard Lazu 2fb7571fe1 Update rabbitmq-components.mk 2020-02-11 15:31:49 +00:00
Michael Klishin 98834380b3 (c) bump 2019-12-29 05:50:36 +03:00
Jean-Sébastien Pédron 909af382b8 Git: Ignore copied CLI 2019-12-12 15:08:08 +01:00
Jean-Sébastien Pédron 983c072c45 Update rabbitmq-components.mk 2019-12-12 13:14:58 +01:00
Luke Bakken 95aa0314b2 Add case for undefined state, as this will be the case when errors / exits are raised early 2019-11-27 12:12:37 -08:00
Luke Bakken 740ab14d9c Export ssl_login_name
Fixes rabbitmq/rabbitmq-web-stomp#116
2019-11-27 11:58:17 -08:00
Luke Bakken 32e0b1bcd2 Fix test by adding hide_server_info to schema 2019-10-28 11:48:08 -07:00
Luke Bakken 94bdf2a65e Add support for hide_server_info
Fixes #140

Add test that fails
2019-10-28 11:37:53 -07:00
Jean-Sébastien Pédron 656db39c67 python_SUITE: Skip quorum queue test if they are unavailable
To determine this, we look at the error reported by the broker when the
client tries to subscribe (and thus declare) a quorum queue.
2019-10-10 14:45:18 +02:00
Michael Klishin c8878fc963 Wait for a bit longer 2019-10-08 22:53:49 -05:00
Arnaud Cogoluègnes 2725600b02 Support x-queue-type argument
To be able to use quorum queues. Note deliveries from a classic queue
come with a context to inform back the queue about the handling of the
message (credit flow). Deliveries from a quorum queue do have this
context because quorum queues do not use credit flow. So supporting
quorum queues is not just about propagating the type header to AMQP
but needs also to handle both kinds of deliveries.

Fixes #138
2019-10-04 14:44:19 +02:00
Luke Bakken 6147840dbb Remove use of dict: module
Fixes #136
2019-09-26 08:01:45 -07:00
kjnilsson f8bf3ebce0 Update rabbitmq-components.mk 2019-09-13 10:24:33 +01:00
kjnilsson c117e341a7 Update rabbitmq-components.mk 2019-09-04 10:31:11 +01:00
Jean-Sébastien Pédron e641b34790 Update erlang.mk 2019-08-29 20:46:00 +02:00
Jean-Sébastien Pédron c69ce66b35 Makefile: Don't set `$(ELIXIR_LIB_DIR)` here
It is already managed by `rabbitmq-build.mk`.
2019-08-14 11:18:35 +02:00
Michael Klishin 1eef1ca91c Update rabbitmq-components.mk 2019-08-11 01:48:09 +10:00
Jean-Sébastien Pédron 61e9dc052a Update erlang.mk 2019-08-02 09:54:50 +02:00
Michael Klishin c9ff259b5d Update rabbitmq-components.mk 2019-08-01 17:13:30 +03:00
Jean-Sébastien Pédron a77a41802a amqqueue_SUITE: Format protocol version as e.g. "1_0" in test group names
This allows us to specify a group name in the `gmake ct-amqqueue t=...`
command line.
2019-07-23 11:29:58 +02:00
Arnaud Cogoluègnes b433c7e177 Update rabbitmq-components.mk 2019-07-09 16:06:12 +02:00
Jean-Sébastien Pédron c73ba06428 Update rabbitmq-components.mk 2019-06-28 16:05:42 +02:00
Jean-Sébastien Pédron 92f375b0bb Update erlang.mk 2019-06-28 16:02:59 +02:00
Gerhard Lazu 3fceff4be5 Update rabbitmq-components.mk 2019-06-03 02:23:48 +01:00
Jean-Sébastien Pédron 74e0c0126e Update rabbitmq-components.mk 2019-05-17 15:17:28 +02:00
Michael Klishin 5438d5e525 Update rabbitmq-components.mk 2019-05-17 08:37:17 +03:00
Michael Klishin 8e4f6a405f Update rabbitmq-components.mk 2019-05-14 11:51:06 +03:00
Michael Klishin ecda758b72 Update rabbitmq-components.mk 2019-05-13 16:40:48 +03:00
Gerhard Lazu 013ca685e0 Update rabbitmq-components.mk 2019-05-01 13:18:26 +01:00
Luke Bakken 895e53c99b Update rabbitmq-components.mk 2019-04-30 16:21:05 -07:00
Jean-Sébastien Pédron a3a31b4013 Update rabbitmq-components.mk 2019-04-30 14:47:40 +02:00
Gerhard Lazu 4371600cac Update rabbitmq-components.mk 2019-04-22 21:55:17 +01:00
Michael Klishin 87a04e21fc CLI commands: provide more information to the new help command 2019-03-26 20:37:09 +03:00
Spring Operator 12de902841 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://blog.listincomprehension.com/search/label/procket (200) with 1 occurrences could not be migrated:
   ([https](https://blog.listincomprehension.com/search/label/procket) result ClosedChannelException).
* http://dozzie.jarowit.net/trac/wiki/TOML (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/TOML) result SSLHandshakeException).
* http://dozzie.jarowit.net/trac/wiki/subproc (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/subproc) result SSLHandshakeException).
* http://e2project.org (200) with 1 occurrences could not be migrated:
   ([https](https://e2project.org) result AnnotatedConnectException).
* http://nitrogenproject.com/ (200) with 2 occurrences could not be migrated:
   ([https](https://nitrogenproject.com/) result ConnectTimeoutException).
* http://proper.softlab.ntua.gr (200) with 1 occurrences could not be migrated:
   ([https](https://proper.softlab.ntua.gr) result SSLHandshakeException).
* http://yaws.hyber.org (200) with 1 occurrences could not be migrated:
   ([https](https://yaws.hyber.org) result AnnotatedConnectException).
* http://choven.ca (503) with 1 occurrences could not be migrated:
   ([https](https://choven.ca) result ConnectTimeoutException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://fixprotocol.org/ (301) with 1 occurrences migrated to:
  https://fixtrading.org ([https](https://fixprotocol.org/) result SSLHandshakeException).
* http://erldb.org (UnknownHostException) with 1 occurrences migrated to:
  https://erldb.org ([https](https://erldb.org) result UnknownHostException).
* http://stomp.codehaus.org/Protocol (UnknownHostException) with 1 occurrences migrated to:
  https://stomp.codehaus.org/Protocol ([https](https://stomp.codehaus.org/Protocol) result UnknownHostException).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://cloudi.org/ with 27 occurrences migrated to:
  https://cloudi.org/ ([https](https://cloudi.org/) result 200).
* http://erlware.org/ with 1 occurrences migrated to:
  https://erlware.org/ ([https](https://erlware.org/) result 200).
* http://inaka.github.io/cowboy-trails/ with 1 occurrences migrated to:
  https://inaka.github.io/cowboy-trails/ ([https](https://inaka.github.io/cowboy-trails/) result 200).
* http://ninenines.eu with 6 occurrences migrated to:
  https://ninenines.eu ([https](https://ninenines.eu) result 200).
* http://www.actordb.com/ with 2 occurrences migrated to:
  https://www.actordb.com/ ([https](https://www.actordb.com/) result 200).
* http://www.cs.kent.ac.uk/projects/wrangler/Home.html with 1 occurrences migrated to:
  https://www.cs.kent.ac.uk/projects/wrangler/Home.html ([https](https://www.cs.kent.ac.uk/projects/wrangler/Home.html) result 200).
* http://www.rabbitmq.com/stomp.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/stomp.html ([https](https://www.rabbitmq.com/stomp.html) result 200).
* http://www.rebar3.org with 1 occurrences migrated to:
  https://www.rebar3.org ([https](https://www.rebar3.org) result 200).
* http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* http://inaka.github.com/apns4erl with 1 occurrences migrated to:
  https://inaka.github.com/apns4erl ([https](https://inaka.github.com/apns4erl) result 301).
* http://inaka.github.com/edis/ with 1 occurrences migrated to:
  https://inaka.github.com/edis/ ([https](https://inaka.github.com/edis/) result 301).
* http://lasp-lang.org/ with 1 occurrences migrated to:
  https://lasp-lang.org/ ([https](https://lasp-lang.org/) result 301).
* http://saleyn.github.com/erlexec with 1 occurrences migrated to:
  https://saleyn.github.com/erlexec ([https](https://saleyn.github.com/erlexec) result 301).
* http://www.mozilla.org/MPL/ with 22 occurrences migrated to:
  https://www.mozilla.org/MPL/ ([https](https://www.mozilla.org/MPL/) result 301).
* http://www.rabbitmq.com/man/rabbitmq-plugins.1.man.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/man/rabbitmq-plugins.1.man.html ([https](https://www.rabbitmq.com/man/rabbitmq-plugins.1.man.html) result 301).
* http://zhongwencool.github.io/observer_cli with 1 occurrences migrated to:
  https://zhongwencool.github.io/observer_cli ([https](https://zhongwencool.github.io/observer_cli) result 301).
2019-03-20 03:23:56 -05:00
Michael Klishin 2a05ac304d Travis: use Erlang 21.3, Elixir 1.8.1 2019-03-20 10:33:21 +03:00
Michael Klishin bee412f6b9 Additional help content for CLI command 2019-03-19 20:37:26 +03:00
Daniil Fedotov fba4174074 Handle 21.3 tls_alert error format. 2019-03-18 18:32:11 -04:00
Michael Klishin 76ed79ee23 Update rabbitmq-components.mk 2019-03-15 09:34:52 +03:00
Michael Klishin e60ec3c62a Update rabbitmq-components.mk 2019-03-15 05:06:00 +03:00
SAMUEL NELA bdef8a4d98 Fixed rabbitmq-plugins link 2019-02-24 22:44:52 +01:00
Michael Klishin 02178e0d07 Wording 2019-02-21 20:28:05 +03:00
Daniil Fedotov 96a2a3c30c Description for help command.
Requires https://github.com/rabbitmq/rabbitmq-cli/pull/316
2019-02-20 14:22:30 -05:00
Michael Klishin 68b5d8a216 Update rabbitmq-components.mk 2019-02-12 23:24:11 +03:00
Luke Bakken c246ffd3a5 Add test for default_topic_exchange, fixup parse_routing 2019-01-24 06:53:06 -08:00
Luke Bakken 96f336d47a Add cuttlefish config and test 2019-01-23 10:15:47 -08:00
Luke Bakken 4dc10cd19c Add rabbitmq_stomp.default_topic_exchange configuration parameter
Fixes #94
2019-01-23 10:02:57 -08:00
Michael Klishin 0758bf2af8 .travis.yml: use 21.2 as 21.2.2 builds are no available 2019-01-14 01:20:27 +03:00
Michael Klishin bd4d1f828d .travis.yml: sync Erlang and Elixir versions, require Erlang/OTP 21.2 2019-01-13 05:50:06 +03:00
Luke Bakken 771c61833a Update rabbitmq-components.mk 2019-01-09 12:55:23 -08:00
Luke Bakken 1042072632 Update rabbitmq-components.mk 2019-01-08 11:58:36 -08:00
Michael Klishin e91e498d06 New style config: support stomp.tcp_listen_options.*
That mimic tcp_listen_options.* for AMQP 0-9-1 and AMQP 1.0 listeners.

Closes #129.

[#157922235]
2019-01-02 20:18:40 +03:00
Michael Klishin ab8692eb8d Revert "Revert "Use {active,once} instead of async_recv""
This reverts commit 1f0fac4550.

The change to {active, once} ended up being unrelated; it's a bug
in the Erlang 21.2 ssl app.
2018-12-22 10:08:53 +03:00
Michael Klishin 1f0fac4550 Revert "Use {active,once} instead of async_recv"
This reverts commit a4ef42af9a.

Due to obscure CI failures in rabbitmq-web-stomp.
2018-12-21 21:28:24 +03:00
Loïc Hoguin a4ef42af9a Use {active,once} instead of async_recv 2018-12-18 13:09:41 +01:00
Michael Klishin b80e68b20d Update rabbitmq-components.mk 2018-12-06 18:29:06 +03:00
Loïc Hoguin 513c4fb349 Use the built-in Ranch PROXY protocol support 2018-12-04 13:17:03 +01:00
Jean-Sébastien Pédron a8206fa2da Update rabbitmq-components.mk 2018-11-30 14:56:59 +01:00
Jean-Sébastien Pédron d946cfca15 Update rabbitmq-components.mk 2018-11-22 09:19:43 +01:00
kjnilsson ef3a61ec47 Update rabbitmq-components.mk 2018-10-29 12:43:32 +00:00
Luke Bakken e39e52cd9d comment 2018-10-11 06:55:42 -07:00
Michael Klishin 9022247ba6 Use 10 TLS connection acceptors by default
Part of rabbitmq/rabbitmq-server#1729.

[#161136615]
2018-10-11 03:04:11 +03:00
Michael Klishin 417aeac814 Use Pika 0.12.0 for Python 3.7 compatibility
See pika/pika#923.
2018-10-10 22:55:46 +03:00
Jean-Sébastien Pédron 98dd730ab7 Update rabbitmq-components.mk 2018-09-19 10:38:24 +02:00
Jean-Sébastien Pédron 1a2a9fb380 Update rabbitmq-components.mk 2018-09-11 14:22:41 +02:00
Luke Bakken df3ca5d14e Update git-commit-msgs link 2018-08-28 16:17:58 -07:00
Jean-Sébastien Pédron 18c78c1ff3 Update rabbitmq-components.mk 2018-08-09 17:44:23 +02:00
Jean-Sébastien Pédron 4e5b55af3e Update rabbitmq-components.mk 2018-08-09 12:17:09 +02:00
Luke Bakken 356782f319 Add rabbit_stomp_connection_info module
This ensures that rabbit_direct:maybe_call_connection_info_module will not continuously return
enoent. In high connection churn scenarios, this can bring RabbitMQ down.

See VESC-888
2018-07-11 15:51:44 -07:00
Michael Klishin 7eb639b101 Don't await a logger process that won't ever be started on OTP 21
Same change as in a210d82f54.

References rabbitmq/rabbitmq-server#1616.

[#157964874]
2018-07-11 22:19:40 +03:00
Michael Klishin 720105add2 Python test suite: compatibility with Python 3.5+
"await" is a keyword as of PEP 492.
2018-07-11 22:13:13 +03:00
Jean-Sébastien Pédron f78f67299b Update rabbitmq-components.mk 2018-06-07 11:31:45 +02:00
Jean-Sébastien Pédron d695149293 Update erlang.mk 2018-04-11 10:54:24 +02:00
Jean-Sébastien Pédron 4fe9b70bbb Update rabbitmq-components.mk 2018-04-11 10:51:30 +02:00
Jean-Sébastien Pédron 1f3532fc0f Update rabbitmq-components.mk 2018-04-11 10:10:12 +02:00
Jean-Sébastien Pédron 60181919ad Travis CI: Update config from rabbitmq-common 2018-04-10 13:09:35 +02:00
Michael Klishin c1559f4834 Python 3 compatbility: cosmetic drive-by changes 2018-04-03 00:36:59 +03:00
Michael Klishin 008d542d20 Ditto 2018-04-03 00:36:41 +03:00
Michael Klishin f24bc6dfdb Python 3 compatibility 2018-04-02 23:43:14 +03:00
Michael Klishin 469f899de8 Add a missing parenthesis 2018-04-02 23:42:51 +03:00
Michael Klishin 7c634f228b Python 3 compatibility 2018-04-02 23:27:42 +03:00
Michael Klishin 0d2a49b257 Use Pika 0.11.x 2018-04-02 23:00:36 +03:00
Michael Klishin 36feef395c One more test 2018-04-02 23:00:21 +03:00