import dramatiq
from dramatiq.brokers.rabbitmq import RabbitmqBroker
rabbitmq_broker = RabbitmqBroker(url='amqp://guest:guest@rabbitmq')
dramatiq.set_broker(rabbitmq_broker)
@dramatiq.actor
def count_to(n):
for i in range(n):
print(i)
Feedback for free JetBrains
A message broker is software that enables applications, systems, and services to communicate with each other and exchange information.
Dramatiq monitoring has a few options, including "dramatiq tasks with monitoring" and "dramatiq dashbord", but neither are as good as Flower
idempotent - easily retryable, can run multiple times and get the same result