Rebuilding Docker Image for Custom Connector in Airbyte

Summary

The user is looking for documentation on how to rebuild a Docker image for a custom connector in Airbyte, specifically to modify the .jar file in the DB2 source connector to connect to an AS400 database.


Question

Hello there :wave::skin-tone-2:

I am new in Airbyte and trying to POC the software for my company. I saw that we are able to create custom connectors and I am trying to find the tutorial on how to rebuild an existing connector.
What I want to achieve is to change the .jar file in the DB2 source connector to be able to connect to AS400 database.
Is there any documentation on how to rebuild docker image for this ?

Regards,



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want to access the original thread.

Join the conversation on Slack

["rebuilding-docker-image", "custom-connector", "db2-source-connector", "as400-database", "documentation"]

Iā€™m not well versed in Java sources docs ā€” I think the easiest path for you would be to just read the code of the source in question.

https://github.com/airbytehq/airbyte/blob/beda34bb1d7913f588f4caa083247ac4a6f4adf2/airbyte-integrations/connectors/source-db2/src/main/java/io.airbyte.integrations.source.db2/Db2Source.java#L1|https://github.com/airbytehq/airbyte/blob/beda34bb1d7913f588f4caa083247ac4a6f4adf2[ā€¦]src/main/java/io.airbyte.integrations.source.db2/Db2Source.java

Good luck!

As for building the source as a custom component once you made the change ā€” standard airbyte-ci connectors --name source-as4000 build will work

Hey ! Thank you for the informations. I will try this and see how it goes !