Closed cterence closed 2 years ago
Hi @cterence , I see that you are using the restore remote
command while you use a local data store. Can you try by using the restore local
command?
Hi @evoxmusic, I've tried doing so and there is no change, the data is not transformed when I query it in the postgresql docker container.
If it could help, here are some details :
replibyte --config config/replibyte.yaml dump restore local --value latest -o | code -
, the data is not transformed according to the config fileHi @evoxmusic, great news because I found the problem on my part.
The replibyte.yaml
config was wrong because in the database
field of my transformers, I was putting the database name instead of the PostgreSQL schema name (which was public
in my test case).
With this, the transformers features works as intended.
However, two questions arise from this :
database
key ?In any case, I'm closing the issue because my problem is solved.
Hello, I have been testing Replibyte and its features of data transformation, however, I have yet to successfully transform data, here is my setup :
Replibyte version : 0.9.7
docker-compose.yml
script.sh
replibyte.yaml in the /config directory
When I run
docker compose up
, the sample database is fed into the prod postgresql database and replibyte makes the dump and restores it to the staging database immediately.Here are the script's logs :
When I select rows from the staging database, the columns from the tables supposed to be transformed are still the same as the prod database.
For example :
where port 5433 is the prod database and port 5432 is the staging database, with supposedly transformed rows. The title and actor columns should be different if my replibyte config is correct.
The sample data can be found here.
Is there something I missed here ?