Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@focusaurus
Copy link
Contributor

Impact: minor
Type: feature|performance

Issue

As we add Change Data Capture (CDC) to our mix of data streaming paradigms, our kafka connect mongo source needs to load full collections sorted by updatedAt when it's doing its initial sync before switching over to oplog tailing. These indices on SimpleInventory and Products facilitate that.

Solution

Define the indices as part of plugin registration using the existing mechanism.

Breaking changes

N/A

Testing

  1. Make sure reaction core starts cleanly without new errors
  2. Confirm the 2 new indices exist

@aldeed aldeed merged commit f93de88 into develop Sep 23, 2019
@aldeed aldeed deleted the cdc-indices branch September 23, 2019 11:44
@kieckhafer kieckhafer mentioned this pull request Sep 25, 2019
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.

3 participants