For `tap-airbyte-wrapper` , does it work for Airby...
# singer-taps
c
For
tap-airbyte-wrapper
, does it work for Airbyte sources which are not written in python? I'm specifically looking at https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-mssql but I am getting this error: "tap_airbyte.tap.AirbyteException: Discover failed with return code 1: Unknown option: discover"
a
Any particular reason you want to use the airbyte connector? We added xml column type support to the pipeline wise variant and it works for our customers https://github.com/Matatika/pipelinewise-tap-mssql
c
@aaron_phethean I was trying to test the performance between the two actually! We are using the pipelinewise variant currently and it works, but I want to see if the Airbyte variant is more performant, especially when doing full syncs.
👍 1
v
iirc it runs airbytes taps in a container so yeah it should work
a
I’d start with the network if you’re looking at the performance. (including size of the each ‘batch’) Let us know what you find out 👊
c
@visch I did a bit more digging and it looks like native sources work (ones available on pypi and that do not require docker).
Testing the ones that require docker reveal that it may not work. I tried both source-mssql and source-postgres. Doing a bit more digging it seems like
tap-airbyte-wrapper
creates the following command to send to docker:
docker run --rm -i -v /tmp/tmpio_5ikd9:/tmp airbyte/source-mssql:latest -- discover --config /tmp/config.json
If it sent
docker run --rm -i -v /tmp/tmpio_5ikd9:/tmp airbyte/source-mssql:latest discover --config /tmp/config.json
it works just fine
v
maybe an update to the shim?
c
@visch The shim in this case would be the airbyte wrapper -- right?
v
yes
I don't deal with it sorry, don't know the words exactly!
c
@visch No worries, appreciate the feedback!
r
@Conner Panarella
tap-airbyte-wrapper
is broken due to a recent change, https://meltano.slack.com/archives/C068YBQQF1V/p1722005464454259?thread_ts=1722003940.255219&cid=C068YBQQF1V
s
@Conner Panarella were you able to get the airbyte sql server source working? Curious to know how or if you were able to set the cursors for incremental replication
c
@steven_wang Yes, although the maintainer hasn't merged any of the fixes I made a PR for 😅. What do you mean by setting the cursor?
s
Saw your PR! I removed the extra
--
in the docker command and got the tap to run. Thanks for that! By cursor I mean the replication key per stream used for incremental replication. I haven't figured out how to manually set it yet, seems like it defaults to the PK of each table I'm syncing
c
Gotcha, I use CDC so I haven't tried cursor-based replication
👍 1