Hi team, I wanna to ask a question: How can I test...
# replication-troubleshooting
t
Hi team, I wanna to ask a question: How can I test my custom normaliztion image?
n
Hey, Tmac! Could you give me more details - what steps have you taken so far? Have you already built your dbt model?
t
Yes, I have build my dbt model and build the normalization docker image using the dbt adapter.
I want to know how to add the normalization docker image into airbyte-destination?
n
You can add the normalization docker image to a destination by setting the
normalizationConfig
field in the destination definitions entry in the
airbyte-config/init/src/main/resources/seed/destination_definitions.yaml
file. The
normalizationConfig
field should include the
normalizationRepository
,
normalizationTag
, and
normalizationIntegrationType
fields. For more information about what these fields mean, see the NormalizationDestinationDefinitionConfig schema. The presence of these fields will enable normalization for the connector, and determine which docker image will run. For example, here is an example of normalization fields being set to enable normalization for the Postgres destination:
Copy code
yaml
normalizationConfig:
    normalizationRepository: airbyte/normalization
    normalizationTag: 0.2.25
    normalizationIntegrationType: postgres
For more information, see the Connector Development documentation. Let me know if this helps!
t
Thanks for your help! I have do this according the docs, But still can't enable the normalization.
image.png
n
Have you tried spinning your Airbyte instance down and then back up?
u
Hi @Tmac Han, have you solved this problem? I’d like to replace the default normalization image with my own one, and it cannot be enable, either. I modify
destination_definitions.yaml
and run
./gradlew :airbyte-config:init:processResources
to regenerate oss_catalog.json, and then restart Airbyte via docker compose on local machine. Do you have any idea what I missed?
t
Thanks for your help I have fixed this problem.