-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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
repositoryCodeidentifies the repository being targeted,studyIdspecifies the study associated with the event,analysisIddenotes the unique analysis identifier, andremoveAnalysisis 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" }- Remove index fro analysis ID "EGAZ00001254247" use:
{ "repositoryCode" : "collab", "studyId" : "PEME-CA", "analysisId" : "EGAZ00001254247", "removeAnalysis": false }- Index the study "PEME-CA":
{ "repositoryCode" : "collab", "studyId" : "PEME-CA" }- 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.
Metadata
Metadata
Assignees
Labels
No labels