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

Implement ingestor module that watches mongo and ingest data to elastic search #228

Merged
merged 20 commits into from
Jun 16, 2024

Conversation

lenguyenthanh
Copy link
Member

@lenguyenthanh lenguyenthanh commented Jun 11, 2024

Goal

  • Remove coupling between lila and elastic search logic
  • Allow re-deploy lila-search/ingestor without afraid of losing data
  • Only do bulk insert/delete

What is in this pr

This currently only implement ingestor for forum:

TODO

  • ingest forum posts to elastic
  • configurable setting for ingestor
  • save timestamp for the last ingested posts, so We can stop/start without worry about missing posts.
  • deal with delete/erase posts
  • handle errors & retry
  • verify that it's actually read/get change event from secondary storage

@lenguyenthanh lenguyenthanh changed the title Implement ingestor module that can watch mongo database and ingest data to elastic search Implement ingestor module that watches mongo and ingest data to elastic search Jun 11, 2024
@lenguyenthanh lenguyenthanh force-pushed the ingestor branch 6 times, most recently from 021a02d to b62534d Compare June 15, 2024 00:35
@lenguyenthanh lenguyenthanh marked this pull request as ready for review June 15, 2024 03:56
@lenguyenthanh lenguyenthanh marked this pull request as draft June 15, 2024 05:49
@lenguyenthanh lenguyenthanh marked this pull request as ready for review June 15, 2024 08:07
By setting env or system property variables. This config will ovveride
values stored locally.
@ornicar
Copy link
Collaborator

ornicar commented Jun 16, 2024

LGTM.

@lenguyenthanh lenguyenthanh merged commit 53d254d into master Jun 16, 2024
3 checks passed
@lenguyenthanh lenguyenthanh deleted the ingestor branch June 16, 2024 10:03
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.

None yet

2 participants