Hi, I am trying to assign a domain to all the data...
# troubleshoot
r
Hi, I am trying to assign a domain to all the data coming from one of my sources, and assign another domain to all the data from other source. These sources have both from postegresql, and have various similarities in terms of content but they come from different machines. I am using:
Copy code
domain:
            'urn:li:domain:xxx':
                allow:
                    - '.*'
Only changing the xxx in each of the recipes. All goes well when running the first recipe, but after running the second one there seems to be some kind of problem, the second domain shows 0 entities in the Domains tab (the first domain shows all the existing entities), but in the first page, in Domains it shows ONLY the second domain with all existing entities (the first domain disappears from the front page). Can it be the "allow" segment of the recipe? I thought allowing everything only applied to the data coming from the source of the recipe.
b
Yes thats correct! Are you setting a platform instance in your recipe? It feels to me like the primary keys that are being generated for your 2 sources may in fact be conflicting...
r
I was not setting platform instances. I now setted two different platform names for each recipe and it solved the problem. Thank you John.
b
Thanks for following up Diogo!