Skip to content

(feat): Adding RemoteSearchIndexerSubscription class #2534

Zack Wynne requested to merge feat/remote-search-indexer-2534 into master

Ticket(s) / Related Merge Requests

#2534 (closed)

Helm changes:

helm-charts!123 (merged)

Summary of Changes

This MR adds a RemoteSearchIndexerSubscription class that implements SearchIndexerSubscription, only overriding the subscription ID. This allows us to create an additional search indexer runner that targets a remote Pulsar DC in order to keep the local Elasticsearch in sync with operations that occur in the remote DC.

Testing Considerations

This is currently deployed to sandbox in OKE, however not to EKS. You can test by creating a post on local.minds.io and check that it gets indexed in OpenSearch on OKE. This should be reflected in the logs for the remote indexer.

Deployment Considerations

We need to expose the Pulsar proxy as a LoadBalancer on both clusters.

Regression Scope

Search

Platform Affected (web, mobile, etc)

Web

Developer Testing Completed

Tested creating posts on OpenDistro in EKS and retrieving the document on OpenSearch in OKE.

Screenshots / Screen Recording

Screen_Recording_2023-03-08_at_10.19.59_PM

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Zack Wynne

Merge request reports