Commit Graph

1303 Commits

Author SHA1 Message Date
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