I've setup failed transport as local filesystem write:
config/packages/messenger.yaml:
framework:
messenger:
# Uncomment this (and the failed transport below) to send failed messages to this transport for later handling.
failure_transport: failed
transports:
async_kafka:
...
failed:
dsn: 'enqueue://enqueue_file?topic[name]=fails'
routing:
# Route your messages to the transports
'App\DAO\DemoNotification': [ async_kafka ]
bin/console messenger:failed:show
[critical] Error thrown while running command "messenger:failed:show". Message: "The "failed" receiver does not support listing or showing specific messages."
Looks like just should be implemented MessageCountAwareInterface, ListableReceiverInterface?
Hello.
I've setup failed transport as local filesystem write: config/packages/messenger.yaml:
config/packages/enqueue.yaml:
Together with configuring custom middleware by https://github.com/symfony/symfony/issues/35521 I be able to send messages into failed queues when Kafka is not available.
Meantime I can't read that:
Looks like just should be implemented
MessageCountAwareInterface
,ListableReceiverInterface
?Similar to the said https://github.com/alekitto/messenger-extra/issues/13
P.S. Initially reported into enqueue: https://github.com/php-enqueue/enqueue-dev/issues/1226