Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No ID on observations received from event bus #276

Open
alexrobin opened this issue Oct 22, 2024 · 0 comments
Open

No ID on observations received from event bus #276

alexrobin opened this issue Oct 22, 2024 · 0 comments
Assignees
Labels

Comments

@alexrobin
Copy link
Member

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.

@alexrobin alexrobin added the bug label Oct 22, 2024
@alexrobin alexrobin self-assigned this Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant