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

(Source) - Couchbase connector 🎉 #1

Draft
wants to merge 2,369 commits into
base: master
Choose a base branch
from

Conversation

teetangh
Copy link
Collaborator

@teetangh teetangh commented Sep 24, 2024

What

  • Implementation of a Couchbase source connector that enables data extraction from Couchbase databases
  • Supports both full refresh and incremental sync modes
  • Handles authentication and connection management with Couchbase clusters
  • Implements efficient querying using SQL++ with pagination support

How

  • Uses Python CDK's AbstractSource for the main connector implementation
  • Implements connection checking using Couchbase SDK's cluster connection
  • Utilizes SQL++ queries with parameterized statements for secure data access
  • Handles incremental sync using configurable cursor fields

Review guide

  1. source.py - Main connector implementation, connection handling, and stream configuration
  2. streams.py - Stream implementations for full refresh and incremental sync modes
  3. queries.py - SQL++ query construction and execution logic
  4. Integration tests for verifying connector behavior with actual Couchbase instance
  5. Unit tests covering core functionality and edge cases

User Impact

  • Users can reliably sync data from Couchbase databases to any Airbyte destination
  • Clear error messages help with troubleshooting
  • Incremental sync support reduces data transfer and improves efficiency

Can this PR be safely reverted and rolled back?

  • YES 💚
  • The connector is self-contained and doesn't have dependencies on other system components
  • No database migrations or schema changes are required
  • Reverting would simply disable the Couchbase source functionality without affecting other connectors

@teetangh teetangh self-assigned this Sep 24, 2024
@teetangh teetangh requested a review from shyam-cb September 24, 2024 14:04
teetangh and others added 30 commits December 16, 2024 09:23
…bytehq#47240)

Co-authored-by: Octavia Squidington III <[email protected]>
Co-authored-by: ChristoGrab <[email protected]>
Co-authored-by: Danylo Jablonski <[email protected]>
Co-authored-by: Christo Grabowski <[email protected]>
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.