Hi!
Sometimes we need to edit schema that is already in production.
For example: https://sp.napolke.ru/schemas/ru.napolke.sp/catalog_cardpreview_click/jsonschema/1-0-0
If we don’t edit schema everything is good. After editing schema we are getting this message.
:[{“level”:“error”,“message”:“error: Could not find schema with key iglu:ru.napolke.sp/catalog_cardpreview_click/jsonschema/1-0-0 in any repository, tried:\n level: "error"\n repositories: ["Local cached IGLU repository mirror [HTTP]","Iglu Client Embedded [embedded]","Custom schemas IGLU repository [HTTP]"]\n”}],“failure_tstamp”:“2020-09-07T11:34:17.706Z”}
Js example:
sp_nap(‘trackSelfDescribingEvent’, {
schema: ‘iglu:ru.napolke.sp/catalog_cardpreview_click/jsonschema/1-0-0’,
data: {
catalog_id: [‘asd_test’],
brand_id: [‘asd_test’]
}
});
We are using:
snowplow-stream-collector-kafka-0.14.0
and
snowplow-stream-enrich-kafka-0.19.1
I found this topic:
We tried to kill and restart enrichment process and it does’t work. We still getting this type of message.
We use containers. “container” is that upon restart, it starts with a clean history.
Is there any other way to clear cache or solve this problem in another way?
Thanks for the answer