Currently, the ID is assigned when an observation is added to a database but streaming obs are obtained from the event bus BEFORE they get inserted into a DB (for latency reason).
Several possible solutions:
- Always insert the obs first before it is forwarded to even bus (would reduce streaming performance)
- Have separate module to generate IDs, independently of any database
Same applies to streaming commands.