Closed Gsantomaggio closed 7 years ago
Starting from 3.7.0 version the json
functions have been moved to the rabbit_json
module and removed from rabbit_misc.
I fixed it see https://github.com/aweber/rabbitmq-autocluster/compare/master...Gsantomaggio:rabbitmq-autocluster-120 ( I am going to test it)
I won't PR for now, because it breaks the compatibility with the version 3.6.x
.
cc @michaelklishin
I fixed the problem, but I had to rewrite some JSON
functions.
The current RabbitMQ JSON module supports only jsx:decode(JSON, [return_maps]).
Had to add on src/autocluster_util.erl
these JSON functions that don't use [return_maps]
Note: This is WIP, and I tested it only using etcd
@Gsantomaggio if there are reasons to expland the API in 3.7.0, let us know.
@michaelklishin it would be useful to add these functions in rabbit_json
:
@Gsantomaggio go ahead and submit a PR (and link to this issue).
Hi,
With RabbitMQ 3.7.0 the plugin does not work properly.
I am trying to use
etcd
as backend and I get the following error: