mjoniec / Proj2_Planes

Distributed air traffic control system. Microservices, DDD, Docker, HostedServices
0 stars 0 forks source link

Mqtt #8

Closed mjoniec closed 3 years ago

mjoniec commented 4 years ago

**MQTT does not work in project - make it work on localhost

Domain - bad weather generation

planes notification - 2 cases:

mjoniec commented 3 years ago

After debugging session and some investiogation decided to get rid of mqtt. Reasons: During debugging discovered that subscribing to an airport made plane consume all messages from history instead of awaiting for a new ones ocurence. When retention change made, messages were not received at all. Too much trouble, refactored the whole thing into http api, with much simpler code in host services in one hour.

Bad weather functionality switched from planes beeing notified about bad weather to planes asking for a weather info from traffic api.