mercadona / postoffice

A dispatching service implemented in Elixir. Communicate services or sent api calls to yourself to process anything later
Apache License 2.0
23 stars 7 forks source link

Mark publishers as deleted #111

Open lonamiaec opened 3 years ago

lonamiaec commented 3 years ago

The only way to "remove" a publisher nowadays is marking it as inactive, but it has a downside. All publisher's messages will never be sent, we keep marking them as scheduled so we're trying to send them forever. We need to add a new field on publishers, so we can mark them as deleted. If we're trying to send a message and the publisher is inactive will keep the message as scheduled but if the publisher is also marked as deleted we need to set this message as discarded

jjponz commented 3 years ago

WIP!!