Page MenuHomeDevCentral

Start documentation for the notifications center
Open, Needs TriagePublic

Description

The application is used in production for some months, and should so be documented, to be useful for other people too.

Installation and upgrade notes could be found at https://agora.nasqueron.org/Operations_grimoire/Notifications_center

Event Timeline

Document how to correctly create queues and exchanges on the broker:

[2020-10-03 05:07:56] production.ERROR: PhpAmqpLib\Exception\AMQPProtocolChannelException: PRECONDITION_FAILED - inequivalent arg 'type'
for exchange 'notifications' in vhost 'dev': received 'topic' but current is 'direct' in /var/wwwroot/default/vendor/php-amqplib/php-amqp
lib/PhpAmqpLib/Channel/AMQPChannel.php:191

Documentation should recommend not to create the exchange, so the software will take care of that.

"The notification lifecycle: how a notification is provided and consumed" schema

notifications.drawio (3).png (1×1 px, 150 KB)