Enricher resolver.json

Hi there!
I’m trying to find a way to make resolver.json dynamic so I can change custom iglu registry based on environment variables(dev_url, testing_url,etc).

Is there any chance I can use a .hocon file for resolver.json ? Are there any other alternatives than changing the entrypoint for stream-enrich-kafka ?

Hi @tomascaraccia ,

That’s not possible yet.

How is your app orchestrated ?

To dynamically generate resolver.json before running the app, based on URI, you could run something like:

cat > resolver.json <<EOF
  "schema": "iglu:com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-1",
  "data": {
    "cacheSize": 500,
    "repositories": [
        "name": "Iglu Central",
        "priority": 0,
        "vendorPrefixes": [ "com.snowplowanalytics" ],
        "connection": {
          "http": {
            "uri": "$URI"

Thanks Benb, I ended up using jq to replace values.

1 Like

Hi @tomascaraccia ,
Thanks for the update - helpful for other members.