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

Dev #67

Merged
merged 48 commits into from
Jun 27, 2023
Merged

Dev #67

merged 48 commits into from
Jun 27, 2023

Conversation

renan-souza
Copy link
Collaborator

No description provided.

This is the sequence.

0. User starts the interceptors using the API -- This resets the number of running MQ consumption threads
1. Each interceptor increments a counter of consumption threads
2. After execution, user sends a "master stop" command using the API
3. Each MQ thread executes a stop command, flushes the remainder of the buffer, and sends a stop event to the queue
4. The Document Inserter receives these events and counts. When the number of stop events coming from the MQ threads is equal to the number of MQ threads, the DocInserter sends a stop command.
5. The stop command flushes all buffers and close.
@renan-souza renan-souza self-assigned this Jun 27, 2023
@renan-souza renan-souza merged commit f1afb24 into main Jun 27, 2023
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

Successfully merging this pull request may close these issues.

1 participant