Hi team, how to add the normalization docker image...
# replication-troubleshooting
t
Hi team, how to add the normalization docker image into a custom airbyte-destination? I have built my dbt model and normalization docker image. I want to debug it.
u
Tmac you must rebuild normalization to work with your custom code. You can't add normalization to a custom destination only creating a dbt model. It doesn't work like this. Normalization generate dynamically dbt models on-the-fly.
t
Thanks for your reply! And how can I add normalization to a custom destination? I have rebuilt the normalization docker image.
u
Normalization uses factory design paradigm. You must implement your new destination code into normalization base code implementing some functions, operations and variables to make it work. I recommend to you check this PR where add clickhouse and the support to clickhouse normalization https://github.com/airbytehq/airbyte/pull/7620
t
Thanks, I have read some related PR but the
airbyte-workers/src/main/java/io/airbyte/workers/normalization/NormalizationRunnerFactory.java
has been over-write, that does not exist at all!
I can not find a way to make my connector and normalization docker image 1v1. I think the clickhouse code has outdated.
u
I see. Normalization was moved away from worker and there are some changes. I don't think there are any updates pull request I can show you. The best way probably is checking normalization code.