Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
-
Folijet Sprint 91, Folijet Sprint 92
-
5
-
Folijet
-
Q2 2020
Description
Currently new EventType is created at the moment when Publisher is being registered. This means that Subscriber for that particular EventType can register only after the successful registration of the Publisher. Such behavior leads to failures when modules register in mod-pubsub in the wrong order.
To allow Subscribers to register before the Publishers, new "temporary" eventType should be created and replaced with the complete EventDescriptor at the moment when Publisher is being registered.
Go through MessagingDescriptor.json files and delete all the fake declarations of Publishers that were added as a workaround of this issue.
Steps
- Pub-Sub should check is EventType exist during Subscriber creation
- If there is no eventType - create a temporary event and register Subscriber
- Create topic and consumer
- When someone register Publisher with EventType == tempEventType - replace Subscriber with real EventType
- Add temp flag
- Publisher rewrite EventType
- Add tests
TestRail: Results
Attachments
Issue Links
- blocks
-
MODPUBSUB-104 Release v1.2.3
-
- Closed
-
- defines
-
UXPROD-2220 NFR: Data Import (Batch Importer for Bib Acq) & PubSub Q2 2020 Technical, NFR, & Misc bug work
-
- Closed
-