All Versions
10
Latest Version
Avg Release Cycle
-
Latest Release
-
Changelog History
Changelog History
-
v3.0.0 Changes
๐ Changes
- ๐ง Introduce RabbitMQ
topology
configuration and setup. Coney now starts up in two phases, first it sets up the topology (queues/exchanges) and then starts consuming from the queues. This allows more complex RabbitMQ setups like retry queues, etc. - โ Remove pooling for clusters as this should be handled on cluster side instead.
โจ Enhancements
- 0๏ธโฃ
auto_start
option allow you choose how you want to start Coney. Usefalse
value if you want to addConey.ApplicationSupervisor
to your supervisor.true
(default value) means that Coney will run on application start. - ๐ง Settings module. You can speficfy a module name under
coney.settings
section and definesettings/0
function, which should return connection configuration.
- ๐ง Introduce RabbitMQ
-
v2.2.1 Changes
๐ Bug fixes
- ๐ Fixed bug when connection server's pid remained in the list of connections after death
-
v2.2.0 Changes
โจ Enhancements
- ๐ New Coney module with
publish/2
,publish/3
,status/0
methods
- ๐ New Coney module with
-
v2.1.1 Changes
๐ Bug fixes
- ๐ Fixed bug with logging of consumer start if worker is defined with map
-
v2.1.0 Changes
โจ Enhancements
- ๐ Error logs for connection errors
- ๐ฒ Error log for unhandled exceptions if
error_handler
is missing - ๐ฒ Debug log after connection was established
- ๐ฒ Debug log after consumer was started
error_happened/4
callback added
-
v2.0.2 Changes
โจ Enhancements
- โ Added
:default
option forconnection.exchange
- โ Added
-
v2.0.0 Changes
โจ Enhancements
- Channel per each publish message.
๐ Changes
- ๐ Change value of
respond_to
field in connection specification to string with exchange name - No need to add Coney to your application supervisor tree
- ๐ท Consumers should be described in
worker
config parameter
-
v1.0.0 Changes
โจ Enhancements
- โก๏ธ
amqp
updated to version 1.0 - ๐
poison
removed from dependencies - โ Added
Coney.Consumer
behaviour - โ Added option
pool_size
- number of RabbitMQ connections.
๐ Changes
- ๐ Changed format of consumer
process/2
anderror_happened/3
functions error_happened/3
marked as optional- ๐
Coney.AMQPConnection
removed from configs - ๐ Logging removed
- โก๏ธ
-
v0.4.3 Changes
โจ Enhancements
- ๐ Allow to define several RabbitMQ hosts for connection (will be used random host from list)
# config/config.exs config :coney, Coney.AMQPConnection, [ settings: %{ url: ["amqp://guest:guest@localhost", "amqp://guest:guest@other_host"] } ]
-
v0.4.2 Changes
โจ Enhancements
{:reject, reason}
return value: Reject message without redelivery.
defmodule MyConsumer do def connection do #... end def parse(payload) do String.to_integer(payload) end def process(number) do if number <= 10 do {:ok, "Work done"} else {:reject, "Number should be less than 10"} end end end
๐ Bug fixes
- ๐ Fix warnings about undefined behaviour function publish/2, publish/3