Hi Guys,
I setup my own static Iglu Repo and added the page_unload schema, I mirrored what I see on Iglu Central, same folder structure, same index.html albeit paired back with just a test schema and page_unload schema, http protocol is allowed etc.
I then updated the Iglu resolver within the enricher application:
{
"schema": "iglu:com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-0",
"data": {
"cacheSize": 500,
"repositories": [
{
"name": "Iglu Central",
"priority": 0,
"vendorPrefixes": [ "com.snowplowanalytics" ],
"connection": {
"http": {
"uri": "http://iglucentral.com"
}
}
},
{
"name": "Iglu Central - GCP Mirror",
"priority": 1,
"vendorPrefixes": [ "com.snowplowanalytics" ],
"connection": {
"http": {
"uri": "http://mirror01.iglucentral.com"
}
}
},
{
"name": "My Iglu Central",
"priority": 2,
"vendorPrefixes": [ "com.mycompany.myiglu" ],
"connection": {
"http": {
"uri": "http://myiglu.mycompany.com"
}
}
}
]
}
}
On the client side I used the activity callback for ping aggregation on unload, that all works perfect, I can see it posting as a self describing event, has the min/max of X/Y and active seconds etc so all good here.
This issue I’m getting is specifically the unload self describing event is not making it into the good stream, everything else passes to good and makes it to SnowFlake. But not this specific event that uses my own Iglu.
Within the bad S3 I’m getting violations:
{"schema":"iglu:com.snowplowanalytics.snowplow.badrows/schema_violations/jsonschema/2-0-0",
"data":{"processor":{"artifact":"stream-enrich","version":"1.1.0"},"failure"
:{"timestamp":"2020-11-02T14:55:28.555302Z","messages":[{"schemaKey":"iglu:com.mycompany.myiglu/page_unload/jsonschema/1-0-0","error":
{"error":"ResolutionError","lookupHistory":[{"repository":"My Iglu Central","errors":
[{"error":"NotFound"}],"attempts":20,"lastAttempt":"2020-11-02T14:55:28.295Z"},{"repository":"Iglu Client Embedded","errors":
[{"error":"NotFound"}],"attempts":1,"lastAttempt":"2020-10-21T10:52:43.044Z"},{"repository":"Iglu Central","errors":
[{"error":"NotFound"}],"attempts":20,"lastAttempt":"2020-11-02T14:55:28.471Z"},{"repository":"Iglu Central - GCP Mirror","errors":
[{"error":"NotFound"}],"attempts":20,"lastAttempt":"2020-11-02T14:55:28.554Z"}]}}]},"payload":{"enriched": {"app_id": etc...(The post data)
My domain is; //company.myiglu.com, I doubt that makes any difference?
What I mean by this is ://companyiglu.com versus aforementioned domain structure.
Maybe I missed something?
Any assistance is appreciated, I’ve been starting at this one for a while now.
Kyle