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

Maestro V5 - Kafka integration #285

Open
leoraba opened this issue Nov 1, 2024 · 0 comments
Open

Maestro V5 - Kafka integration #285

leoraba opened this issue Nov 1, 2024 · 0 comments

Comments

@leoraba
Copy link
Contributor

leoraba commented Nov 1, 2024

Part of #279

Summary of request

Integrate Kafka to use event driven indexing.

Details

Indexing messages. These messages are responsible for triggering the indexing process for a specific repository, study, or analysis. The event message must include key fields such as repositoryCode, studyId, analysisId, and removeAnalysis to specify the nature and type of event being processed.

The repositoryCode identifies the repository being targeted, studyId specifies the study associated with the event, analysisId denotes the unique analysis identifier, and removeAnalysis is a boolean flag indicating whether the analysis should be indexed, if callers set this flag it will do a remove instead of added.

For example:
1 - Index the analysis ID "EGAZ00001254247" use:

{ "repositoryCode" : "collab", "studyId" : "PEME-CA", "analysisId" : "EGAZ00001254247" }
  1. Remove index fro analysis ID "EGAZ00001254247" use:
{ "repositoryCode" : "collab", "studyId" : "PEME-CA", "analysisId" : "EGAZ00001254247", "removeAnalysis": false }
  1. Index the study "PEME-CA":
{ "repositoryCode" : "collab", "studyId" : "PEME-CA" }
  1. Index the whole repository "colab":
{ "repositoryCode" : "collab" }

Features:

  • DLQ: Use Dead Letter Queue to provide a mechanism to capture problematic messages for further inspection, debugging, or reprocessing.
  • Dynamic configuration: Option configure Kafka via environment variable parameters. i.e.disable kafka, set kafka host, set topic name, disable DLQ, connection max attempts, etc.
@leoraba leoraba mentioned this issue Nov 1, 2024
6 tasks
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