https://linen.dev logo
y

Yiqing Wang

08/15/2021, 10:09 AM
We finished the implementation of using DynamoDB as the destination. We are curious how to build the docker on the local machine, which has the GUI for the new added DynamoDB that can use to test
u

user

08/16/2021, 12:05 AM
@Yiqing Wang assuming you followed the instructions in the README.md to build the docker image, you can add it to the GUI by following these instructions: https://docs.airbyte.io/integrations/custom-connectors#adding-your-connectors-in-the-ui
y

Yiqing Wang

08/16/2021, 12:05 AM
(instead of “admin” section you would go to settings --> destinations, the rest should be the same)
u

user

08/16/2021, 12:07 AM
Thank you Shrif, let me try it really quick. I assume I should use
VERSION=dev docker-compose up
instead just
docker-compose up
.
u

user

08/16/2021, 12:23 AM
May I ask how the
destinationDefinitionId
in destination_definitions.yaml generated?
u

user

08/16/2021, 12:23 AM
@s
u

user

08/16/2021, 12:24 AM
VERSION=dev
controls the platform version not connector versions. You’d need to manually add it in the UI as described in the link
y

Yiqing Wang

08/16/2021, 12:24 AM
destinationDefinitionId
is generated by hand 🙂 it’s not a special value, just needs to be unique
u

user

08/16/2021, 12:25 AM
ok, THANK YOU!
u

user

08/16/2021, 12:43 AM
@Yiqing Wang did you build the image with tag 0.1.0?
u

user

08/16/2021, 12:44 AM
if you do
docker images | grep dynamo
what do you see?
y

Yiqing Wang

08/16/2021, 12:45 AM
Copy code
airbyte/destination-dynamodb    dev            b3f9a341dd39   6 minutes ago   552MB
u

user

08/16/2021, 12:45 AM
you should use the dev tag then not 0.1.0
u

user

08/16/2021, 12:45 AM
The dockerfile is
Copy code
FROM airbyte/integration-base-java:dev

WORKDIR /airbyte
ENV APPLICATION destination-dynamodb

COPY build/distributions/${APPLICATION}*.tar ${APPLICATION}.tar

RUN tar xf ${APPLICATION}.tar --strip-components=1

LABEL io.airbyte.version=0.1.0
LABEL io.airbyte.name=airbyte/destination-dynamodb
u

user

08/16/2021, 12:46 AM
Oh, I see. Let me try
6 Views