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

Admin REST API to force switch topic Id #77

Open
gregscullard opened this issue May 13, 2021 · 0 comments
Open

Admin REST API to force switch topic Id #77

gregscullard opened this issue May 13, 2021 · 0 comments
Labels
enhancement New feature or request Node Java node

Comments

@gregscullard
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
This api would force a restart of the applications (if running in docker-compose, it would automatically restart) so that a new topic id can be taken into account easily.

This should also delete all data in the database.

Describe the solution you'd like
Implement an admin rest API to "switch to new topic id"
Posts a message to the current topic containing new topicId
When message received, delete all data from database
Update topicId in .env
Exit the application which will restart automatically and pick up the new topic id if run in docker-compose.

@gregscullard gregscullard added enhancement New feature or request MVP Minimum Viable Product P1 P1 and removed MVP Minimum Viable Product P1 P1 labels May 13, 2021
@gregscullard gregscullard added the Node Java node label Jul 9, 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 Node Java node
Projects
None yet
Development

No branches or pull requests

1 participant