SalesCandy Git archive
candylake
Feeds lead and lead-log changes into Elasticsearch.
README
This service monitors SNS notifications from CandyMuncher, feeding lead and lead-log changes into Elasticsearch. It processes creations, modifications, and deletions.
Use Case: Ingesting real-time data changes from CandyMuncher into Elasticsearch for search and analytics. Inputs are SNS notifications. Outputs are indexed documents in Elasticsearch.
Selected files and folders
README.mdapppackage.jsonserverless.yml
Reconstructed issues
Summaries inferred from the archive. Original issue records are unavailable here.
Handle conflicts with deleted records
Previously, the system might fail or misrepresent data when a record was deleted in the source but subsequent updates arrived. This change ensures conflicts involving deleted items are handled correctly during indexing.
Add dedicated reindexing queue
The process for reindexing data was previously mixed with live ingestion paths. This commit separates reindexing into its own dedicated queue, improving stability and optimizing the reindexing workflow.
Add metadata to ingested records
Lead and leadlog records were ingested without necessary contextual metadata. This update enriches the data payload by adding required metadata fields during the ingestion process.
Selected commits
-
Update elasticsearch client
Reza Rosli ·
60888ddee5027698062d8641dc77bf8859d5cac2 -
Add target cluster for CandyFloss for tracking
Reza Rosli ·
26dd32560f13d137d8bc81a54cb7cdf2530477ed -
Add separate queue for reindexing, and optimisations
Reza Rosli ·
711a9e05de3981df0953d6541d8d2f1f1b63e386 -
Add DLQ
Reza Rosli ·
6c211a30d851d900be6addcb02de32d4e3594860 -
Correctly handle conflicts with deleted items
Reza Rosli ·
da32c8bc532a24cefa97c217a2f33635460616fa -
Update dependency aws-sdk to v2.969.0
Renovate Bot ·
25a50d7eaec14a01c011fd550553fc1fc9ca6ec5 -
Add metadata to lead and leadlogs when ingesting
Reza Rosli ·
00c5a22934894c0abcae3d15afca9736c033f5a4 -
Update dependency serverless-pseudo-parameters to v2.6.0
Renovate Bot ·
4dcd3077879c860df82b953c6bb4981d2298ac8c -
Update dependency serverless-prune-plugin to v1.5.1
Renovate Bot ·
964cd523f550ee89168ce9819eb28422a5fc8cc7 -
Initial commit
Reza Rosli ·
f06900c9359048201cb276a573161b575e1be73e -
Implement sonarqube
Reza Rosli ·
80600484985591582e2de1e7eb5e688e430e6df3 -
Bugfix
Reza Rosli ·
6a14337f44263b76fed9561db3166a412dc62494 -
Update dependencies
Reza Rosli ·
122f31966c72449c8fad47b7e337c9af74a3c63c