Commit Graph

366 Commits

Author SHA1 Message Date
Michael Klishin 1985b00ab4 Update rabbitmq-components.mk 2016-07-14 13:19:58 +03:00
Michael Klishin a47209148c Building on R16B03-1 is no longer supported (running is) 2016-07-04 22:04:59 +03:00
Andrew Bruce bf2b2739f7 Filter out rabbitmq_test as a dependency
[#121860343]
2016-07-04 19:53:52 +01:00
Andrew Bruce acc17cbb75 Filter out rabbitmq_test as a dependency
[#121860343]
2016-07-04 10:52:54 +01:00
Jean-Sébastien Pédron a5323b7379 Use `rand` directly in master because we require Erlang 18.3
References rabbitmq/rabbitmq-server#860.
[#122335241]
2016-06-30 17:30:20 +02:00
Jean-Sébastien Pédron aa83e8d971 Merge branch 'stable' 2016-06-29 13:27:37 +02:00
Jean-Sébastien Pédron 9aa6728140 Use the new `rand_compat` module to transition from `random` to `rand`
References #860.
[#122335241]
2016-06-29 13:25:19 +02:00
Jean-Sébastien Pédron 130f996692 Git: Ignore `xrefr` 2016-06-29 13:24:52 +02:00
Michael Klishin 54d88af579 Not really probabilistic 2016-06-23 00:17:31 +03:00
kjnilsson c3304199ac change the use of 'Probabilistic' 2016-06-20 17:38:39 +01:00
Mordy Ovits fe7318cf07 Further clarity 2016-06-20 17:38:31 +01:00
Mordy Ovits 0132ca5b18 Correct the description of hashing distribution
It's not true that "if you wish for queue A to receive twice as many messages as queue B then you bind the queue A with a binding key of twice the number [...] of the binding key of the binding to queue B."  The hashing is done on the routing keys, not the messages.  If routing key "foo" has 50,000 messages published and routing key "bar" has 1 message published, the ratio of messages received by queues A and B will not be 2:1.  In fact, all 50,001 messages might go to just one of those queues.

I've edited the langue to match the actual behavior and specifically clarified this confusion.
2016-06-20 17:38:24 +01:00
kjnilsson a6ab0f2855 update travis config 2016-06-20 15:27:41 +01:00
Michael Klishin 619160c4b4 Switch test suite to Common Test
Fixes #21.
2016-06-20 16:30:26 +03:00
Michael Klishin 805cbcb715 Merge branch 'master' into rabbitmq-delayed-message-exchange-3 2016-06-02 16:28:48 +03:00
Michael Klishin 10fd8c25d4 Merge branch 'stable' 2016-05-29 23:32:42 +03:00
Michael Klishin 59602a84e4 Update rabbitmq-components.mk 2016-05-29 23:21:54 +03:00
Michael Klishin 8035d39dc7 Update CONTRIBUTING.md, add CODE_OF_CONDUCT.md 2016-05-28 09:53:34 -07:00
Michael Klishin cbdf30a28a Update CONTRIBUTING.md, add CODE_OF_CONDUCT.md 2016-05-28 14:22:49 +03:00
Daniil Fedotov 55896dc5f4 Stub for type specific exchange info 2016-05-20 12:09:51 +01:00
kjnilsson 6c20333f67 Merge branch 'stable' 2016-05-18 13:22:06 +01:00
Karl Nilsson d2df507204 Update rabbitmq-components.mk 2016-05-18 12:47:59 +01:00
Michael Klishin ad5fecb2cf Merge pull request #20 from rabbitmq/rabbitmq-server-546
Use erlang 18.3 only in travis
2016-05-17 12:04:14 +03:00
Michael Klishin 4888f660e8 Update rabbitmq-components.mk 2016-05-17 11:17:52 +03:00
Michael Klishin e63fed8a73 Update rabbitmq-components.mk 2016-05-17 10:16:08 +03:00
Daniil Fedotov 8a50680cdf Use erlang 18.3 only in travis 2016-05-12 10:58:25 +01:00
Daniil Fedotov 901940f4af Stub for broker_version_requirements 2016-04-22 14:42:18 +01:00
Michael Klishin 8b6172fe9e Update rabbitmq-components.mk 2016-03-23 17:13:39 +03:00
Michael Klishin 3e06644577 Update (c) info 2016-01-01 12:59:16 +03:00
Pierre Fenoll f693990b4e .gitignore: make absolute paths relative 2015-12-28 18:16:07 +03:00
Jean-Sébastien Pédron ecd675505e Update erlang.mk 2015-12-18 20:33:47 +01:00
Jean-Sébastien Pédron 41df64e40f Update rabbitmq-components.mk 2015-12-18 19:08:07 +01:00
Michael Klishin f1d0e4a47d Update rabbitmq-components.mk 2015-12-18 19:48:21 +03:00
Jean-Sébastien Pédron 16df53691d Update rabbitmq-components.mk 2015-12-03 15:38:48 +01:00
Jean-Sébastien Pédron 3b453bb782 Update rabbitmq-components.mk 2015-12-01 18:36:21 +01:00
Jean-Sébastien Pédron 18f3dbfb6d Update rabbitmq-components.mk 2015-12-01 16:17:18 +01:00
Jean-Sébastien Pédron f032466708 Update rabbitmq-components.mk 2015-11-30 09:14:37 +01:00
Jean-Sébastien Pédron e976b53ab9 Update rabbitmq-components.mk 2015-11-26 08:54:10 +01:00
Jean-Sébastien Pédron 251a91b1ad Update rabbitmq-components.mk 2015-11-26 08:41:22 +01:00
Jean-Sébastien Pédron 63bbcc934d Update erlang.mk 2015-11-25 10:35:55 +01:00
Jean-Sébastien Pédron 5c66096dfc Update rabbitmq-components.mk 2015-11-25 10:35:23 +01:00
Jean-Sébastien Pédron 1a2c08c2c3 Update rabbitmq-components.mk 2015-11-20 10:52:04 +01:00
Jean-Sébastien Pédron 819aca804b Update erlang.mk 2015-11-19 14:31:43 +01:00
Jean-Sébastien Pédron 628abb6844 Update erlang.mk 2015-11-18 19:14:27 +01:00
Jean-Sébastien Pédron f1b2248ad0 Update erlang.mk 2015-11-18 17:39:28 +01:00
Jean-Sébastien Pédron a15d9703a1 Update erlang.mk 2015-11-10 13:12:12 +01:00
Jean-Sébastien Pédron 2553703ed0 Update rabbitmq-components.mk 2015-11-10 13:11:16 +01:00
Jean-Sébastien Pédron b99b36657d Update rabbitmq-components.mk 2015-11-05 20:51:33 +00:00
Jean-Sébastien Pédron 6a55e78fc9 Update rabbitmq-components.mk 2015-11-03 15:12:28 +01:00
Jean-Sébastien Pédron 5a49f9095b Update rabbitmq-components.mk 2015-11-02 10:20:49 +01:00
Jean-Sébastien Pédron 1207c3e65e Update rabbitmq-components.mk 2015-10-30 17:32:55 +01:00
Jean-Sébastien Pédron f9e6aeefef Update erlang.mk 2015-10-28 11:15:52 +01:00
Jean-Sébastien Pédron 79df2843ad Update rabbitmq-components.mk 2015-10-28 11:10:36 +01:00
Jean-Sébastien Pédron 4e7c912497 DEPS: Remove rabbit 2015-10-26 18:11:44 +01:00
Jean-Sébastien Pédron d51a24f9a9 Update erlang.mk 2015-10-26 15:33:18 +01:00
Jean-Sébastien Pédron d5132a0b75 Update rabbitmq-components.mk 2015-10-26 11:15:26 +01:00
Jean-Sébastien Pédron 4442251593 Update rabbitmq-components.mk 2015-10-26 10:21:16 +01:00
Jean-Sébastien Pédron 8901573ae6 Adapt .travis.yml to erlang.mk 2015-10-23 20:05:20 +02:00
Jean-Sébastien Pédron 12a705fba8 Update erlang.mk 2015-10-23 18:32:37 +02:00
Jean-Sébastien Pédron 5b97e45bda Update rabbitmq-components.mk 2015-10-23 16:05:41 +02:00
Jean-Sébastien Pédron 69497fa6fe Update erlang.mk 2015-10-22 18:34:17 +02:00
Jean-Sébastien Pédron 39676fe18a Update rabbitmq-components.mk 2015-10-19 17:35:43 +02:00
Jean-Sébastien Pédron c9633e936a Update erlang.mk 2015-10-19 17:29:25 +02:00
Jean-Sébastien Pédron aa5eeaeca4 Update rabbitmq-components.mk 2015-10-19 17:29:25 +02:00
Jean-Sébastien Pédron 64bfae2fa0 Initial move to erlang.mk 2015-10-19 17:29:25 +02:00
Alvaro Videla b506dad8c0 fixes connection leaking on tests 2015-09-16 14:38:26 +03:00
Alvaro Videla d6ee1f406c cosmetics 2015-09-15 12:09:56 +03:00
Gavin M. Roy a9bcb539b4 Add routing on message properties
Summary:

Add a new hash-property argument setting that allows for message hasing based upon the correlation_id or message_id.

Changes:

- Validate the exchange upon creation to ensure that hash-header and hash-property are not both set at the same time. Additionally validate the value of hash-property when set is one of correlation_id or message_id
- Change the signature of hash/2 for header to match on {header, Header} instead of {longstr, Header}
- Add a new hash/2 implementation that matches on {property, Value} for returning the hashable string from the message properties
- Implement a new hash_on/1 method for selecting the data the message will be routed on
- Implement a new hash_args/1 method for returning the configuration for both hash-header and hash-property
- Add test coverage for message property based routing

This addresses the proposal I outlined in #7
2015-09-02 12:33:32 -04:00
Michael Klishin 63d9a783ff Merge branch 'stable' 2015-09-02 11:23:43 +03:00
Michael Klishin 8728d6b476 Clean up declared queues 2015-09-02 11:23:25 +03:00
Michael Klishin fb8dba5018 Cosmetics 2015-09-02 11:21:27 +03:00
Michael Klishin 2b5af1e219 Merge branch 'add-validation' of git://github.com/gmr/rabbitmq-consistent-hash-exchange into gmr-add-validation 2015-09-02 10:29:36 +03:00
Michael Klishin 9d62cbdff5 Copy .travis.yml over to stable 2015-09-02 10:11:15 +03:00
Gavin M. Roy c023431dec Validate routing key when binding
- Address #6 by validating that the routing key is both numeric and non-negative.
- Add unit tests to cover both cases.
2015-09-01 12:03:33 -04:00
Michael Klishin bdc1541677 Add travis badge 2015-08-22 01:45:47 +03:00
Michael Klishin 8b894f80ee Oops 2015-08-22 01:41:21 +03:00
Michael Klishin 0f331f6546 Update .travis.yml 2015-08-22 01:37:25 +03:00
Michael Klishin 26015f246b Merge pull request #9 from gmr/travis-ci-testing
Add configuration for travis-ci testing
2015-08-22 01:27:52 +03:00
Gavin M. Roy 932b5a2fda Add configuration for travis-ci testing 2015-08-21 18:16:49 -04:00
Michael Klishin 12a8d9a690 Update README.md 2015-06-04 14:50:52 +03:00
Michael Klishin 3b42477e05 Update README.md 2015-03-24 21:15:56 +03:00
Michael Klishin eeaca05545 Update mailing list link 2015-03-24 21:04:46 +03:00
Michael Klishin b96f10c561 Sync CONTRIBUTING.md with the template one 2015-02-20 17:08:30 +03:00
Jean-Sébastien Pédron d8ae1be58d Merge branch 'stable' 2015-02-19 18:13:16 +01:00
Jean-Sébastien Pédron 3e5c968d61 Convert .hgignore to .gitignore 2015-02-19 17:26:01 +01:00
Michael Klishin 662df3f479 Sync CONTRIBUTING.md with the template one 2015-02-18 00:24:45 +03:00
Jean-Sébastien Pédron f4d4bbf631 Remove the "moved to GitHub" warning. 2015-02-17 21:10:43 +01:00
Jean-Sebastien Pedron 69c6ae07cf README.md: Warn about the move to GitHub 2015-02-17 17:58:46 +01:00
Simon MacMullen b0619116f6 Merge bug 24926 2014-06-11 13:54:26 +01:00
Simon MacMullen e89376c58c Update copyright for 2014 2014-03-17 17:25:20 +00:00
Tim Watson ee54ac2758 Switch to simplified boot/cleanup step API 2014-01-12 12:07:53 +00:00
Tim Watson a595426b95 Unregister the exchange type when the plugin is disabled (at runtime) 2013-11-27 14:31:54 +00:00
Simon MacMullen d56ade9bf3 s/VMware/GoPivotal/g 2013-07-01 10:49:11 +01:00
Matthias Radestock 8cf8a63fdf propagate API change; and some cosmetics 2013-03-17 20:23:24 +00:00
Simon MacMullen 8f216d33ea rabbit_exchange_type:validate_binding/2. 2013-03-13 17:18:48 +00:00
Emile Joubert ecd23a1375 Merged bug25044 2013-02-12 11:23:52 +00:00
Emile Joubert 5d2f230fdf Merge heads 2013-02-12 11:18:27 +00:00
Simon MacMullen e6723046a7 Don't repeat yourself. 2013-02-08 16:10:27 +00:00
Emile Joubert 38b8f1967b Update copyright 2013 2013-01-23 11:29:20 +00:00
Simon MacMullen 30801fb358 A test would be nice. 2013-01-18 14:22:00 +00:00
Matthias Radestock e0eb8a7f5b this should be more efficient 2013-01-17 21:09:05 +00:00
Matthias Radestock 2eaab2a314 cleanup on deletion 2013-01-16 19:47:51 +00:00
Simon MacMullen 2f2f22e96c More doc 2013-01-09 14:24:58 +00:00
Simon MacMullen 57c59f05b3 Remove unused variables 2013-01-09 14:21:20 +00:00
Simon MacMullen 1af651f92f Typo 2013-01-09 11:11:51 +00:00
Simon MacMullen 0c27693353 Derp, use arguments rather than environment. And add a touch of documentation. 2013-01-09 11:10:05 +00:00
Simon MacMullen 71ad929bcf I realise now this should be keyed off exchange arguments, but I want to go home and I hate leaving things uncommitted. 2013-01-08 18:34:55 +00:00
Simon MacMullen f5bdb4869e API change 2012-05-18 16:21:41 +01:00
Francesco Mazzoli 38379f2e62 Removed behaviour .hrl 2012-04-12 11:18:33 +01:00
Emile Joubert 996e96c6c1 Update copyright 2012 2012-02-02 12:53:17 +00:00
Matthew Sackman 1a28d07b69 bug 24620: Remember that the first item in the table may not be for the exchange we're interested in... 2011-12-08 15:23:39 +00:00
Matthew Sackman 2350b5c611 Add test, of a rather basic nature. I would much rather use confirms, not txn, but confirms are broken in the erlang client (see bug 24499), so I have no choice. 2011-10-18 16:39:24 +01:00
Matthew Sackman 600567148a Minor improvements to documentation; additional comment in code now that I've given up with my finger-tree implementation to 'solve' the identified problem. 2011-10-18 15:36:28 +01:00
Matthew Sackman 498109c86e Minor inlining. 2011-09-24 19:56:08 +01:00
Matthew Sackman bf08828cce Improve documentation 2011-09-24 19:39:28 +01:00
Matthew Sackman e0ef2de300 Initial check-in 2011-09-24 19:21:18 +01:00