Skip to content

SDK with PSMDB Provider PoC#1

Draft
recharte wants to merge 4 commits intomainfrom
poc-with-psmdb
Draft

SDK with PSMDB Provider PoC#1
recharte wants to merge 4 commits intomainfrom
poc-with-psmdb

Conversation

@recharte
Copy link
Copy Markdown
Collaborator

@recharte recharte commented Jan 4, 2026

No description provided.

@recharte recharte requested a review from chilagrow January 4, 2026 23:08
Copy link
Copy Markdown

@chilagrow chilagrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for providing the example, it show cases the simplicity 😃

Was there a reason for having choice for builder and interface option? Perhaps your have experience from maintaining operator code bases.

2. **Do we expect most providers to be simple or complex?**
3. **How important is unit testing individual steps?**
4. **Should we support both, or pick one to reduce maintenance burden?**
5. **Is the hybrid approach a good compromise?**
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Interface feels more natural
  2. If existing providers are simple, I assume most providers would be simple and vice versa.
  3. I prefer integration tests, I would often avoid unit tests for the preference of integration tests 😅
  4. Let's pick one to reduce maintenance burden
  5. I don't think hybrid is necessary, particularly not at the start.

@recharte
Copy link
Copy Markdown
Collaborator Author

recharte commented Jan 7, 2026

Was there a reason for having choice for builder and interface option? Perhaps your have experience from maintaining operator code bases.

To be honest, we were just exploring options to make this as simple and easy to understand as possible and we came up with both approaches.

## 📁 File Structure

```
examples/
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we create a provider for production usage such as PSMDB, which repository would it be implemented in? 🤔

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My suggestion would be to have a separate repository for each provider

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.

2 participants