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

[FEATURE REQUEST] Pub/Sub event system #18

Open
LdDl opened this issue Sep 17, 2021 · 0 comments
Open

[FEATURE REQUEST] Pub/Sub event system #18

LdDl opened this issue Sep 17, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request wip

Comments

@LdDl
Copy link
Owner

LdDl commented Sep 17, 2021

Is your feature request related to a problem? Please describe.
I would like to see pub/sub event system via gRPC
What is event in this context? Well, it just information about detected objects in certain moments of time.
Currently I see next possible events:

  • object has crossed virtual line;
  • object has entered virtual polygon;
  • object has left virtual polygon;

Describe the solution you'd like
We need to make minimum valuable pub/sub system for client-side.
So we need to:

  • improve the way protobuf files are used.
  • describe possible event (via interface+structs or just structs)?
  • implement pub/sub system (it will be gRPC as a wrapping, and channels as a core)

Describe alternatives you've considered

Additional context
Summary workflow for clients will be like:

  1. Client connects to software instance
  2. Client subscribes to events (may be with some filters turned on)
  3. ODaM sends events to every subscribed client.

Also it will be needed an example of client-side (may be even for different programming languages)

@LdDl LdDl added enhancement New feature or request help wanted Extra attention is needed labels Sep 17, 2021
@LdDl LdDl self-assigned this Sep 17, 2021
@LdDl LdDl added wip and removed help wanted Extra attention is needed labels Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wip
Projects
None yet
Development

No branches or pull requests

1 participant