-
Notifications
You must be signed in to change notification settings - Fork 100
Conversation
ec72451
to
aa2ddd9
Compare
Hey @judahrand, I'm happy with the idea in general as we already have it implemented in PipelineWise FastSync. The issue is that I would prefer if we can rename these new parameters to something else other than Will review the PR after renaming :) re infrastructure, it would be great if we can spin up a replica alongside the docker image in the docker-compose to use for dev and testing purposes. |
What would you prefer?
This sounds painful but I'll give it a VERY quick look given the debezium image used... |
It's also worth adding that PipelineWise FastSync does not spin up a replica either: https://github.com/transferwise/pipelinewise/blob/206e75e630933d1a2b2ab9afb36261a55ccf0e4c/dev-project/docker-compose.yml#L63-L75 |
This also feels confusing to me 🤔Why can they not be used by both? Having to define the replica details twice seems even more confusing? |
It's because it will interfere with how we use replicas internally at Wise, temporary replicas are sometimes spun up to do initial sync or resync with FastSync to avoid overwhelming the primary, but the rest of the flow that uses Singer would use primary. |
I know :) |
Hmmm... I see. The replica is still only used if Do you have a preference on the naming in that case? |
Ah naming! one out of the two hardest things in software engineering! How about |
7786e7d
to
e892687
Compare
I've added the usage of the new flag to the tests. This was easiest by adding a parameterisation to an existing test but that required moving away from This should be ready for review now. |
@Samira-El Could you please give this another look? |
d2d9aa6
to
e892687
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good in general, really good stuff!
Left few comments
127fa82
to
fe185e8
Compare
Problem
Proposed changes
Alternate implementation of #131. I'm not sure how to go about testing this without setting up quite a lot of additional infrastructure. Do you think this needs additional testing?
Types of changes
What types of changes does your code introduce to PipelineWise?
Put an
x
in the boxes that applyChecklist
setup.py
is an individual PR and not mixed with feature or bugfix PRs[AP-NNNN]
(if applicable. AP-NNNN = JIRA ID)AP-NNN
(if applicable. AP-NNN = JIRA ID)