redpanda-data / redpanda-data/connect

feature: add api to be able to compile and use a custom `database/sql` driver with the `sql` components

Open
#3,557 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement plugin api sql
Dominant language
Go
Stars
8.8k
Forks
969
Avg merge
1d 13h
Merged PRs (30d)
64

Description

I am able to compile a custom build of benthos with a database/sql compatible driver.

However I am unable to use it because of the enum field:
https://github.com/redpanda-data/connect/blob/9867fe59bf2f388ccadf6a768fa2a760b26e6f9d/internal/impl/sql/conn_fields.go#L30

I wish it would be possible to add database drivers and use them with existing sql package.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading internal/impl/sql/conn_fields.go at the linked enum and then inspect the existing sql components. Identify where custom database/sql drivers would be registered and selected, and confirm the API can compile a custom driver and use it through the existing sql package.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
backend-api-design, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.