agency
v1.2.0 Release
#71
operand
announced in
Announcements
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Summary of Changes
pika AMQP library replaced with kombu.
Kombu brings us a significant step closer to supporting multimedia and other great features such as compression or alternate messaging backends like Redis or Amazon SQS!
Fixed an issue preventing heartbeats from being sent causing connection drops.
Added generic AMQP connection options class
AMQPOptions
.Previously custom AMQP options were supplied as a
pika.ConnectionParameters
object.Moved
AMQPSpace
andNativeSpace
classes into their own files.Update your imports! For example:
from agency.space import AMQPSpace
should now be:
from agency.amqp_space import AMQPSpace
Space.add
andSpace.remove
methods are now synchronous.These methods will return only after the agent has been fully added/removed to the space or raises an exception.
The main feature of this release is the switch to the fantastic kombu messaging library. This introduced some breaking changes so the minor version was incremented.
agency
is now at 1.2.0.I had already been eyeing kombu as a replacement for pika because of the many great features it supports. The heartbeat bug could've been fixed with the pika library, but I decided it would be better to make the switch now.
For one thing, integrating with kombu gets us a huge step closer to multimodal support! And it enables many more useful possibilities like compression etc.
Since the AMQP implementation has been completely rewritten, please report any issues you find.
Thanks so much!
This discussion was created from the release v1.2.0.
Beta Was this translation helpful? Give feedback.
All reactions