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

New game lifecycle management method in stream provider #135

Open
isuru89 opened this issue Aug 12, 2022 · 0 comments
Open

New game lifecycle management method in stream provider #135

isuru89 opened this issue Aug 12, 2022 · 0 comments

Comments

@isuru89
Copy link
Owner

isuru89 commented Aug 12, 2022

When creating a game,

  • A method in stream provider class must be called to initialize a game (e.g. initGame(options))
  • When called this method, necessary streams must be created for the game
  • For kafka, in this particular time, number of partitions should be specified

When closing a game,

  • A method in stream provider must be called (e.g. closeGame(options))

If there is no game topic, the event-api should reject any events targeting that game.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant