Hello! I am trying to use the "domain" feature of ...
# ingestion
l
Hello! I am trying to use the "domain" feature of the Kafka Metadata ingestion. My recipe looks like this:
Copy code
source:
    type: kafka
    config:
        connection:
            bootstrap: 'my-broker:9092'
            schema_registry_url: '<http://my-schema-registry:8081>'
        topic_patterns:
            deny:
                - ^_.+
        domain:
            'urn:li:domain:3215d470-9bb9-4cdf-be43-e971047b4b72':
                allow:
                    - '^foo\.bar*'
            'urn:li:domain:a518ea17-b705-4e59-94be-75cd1c600ca7':
                allow:
                    - '^foo\.bazz*'
            'urn:li:domain:ea46bbbe-33c2-4a7e-bedd-665037df50fc':
                allow:
                    - '^foo\.blub*'
sink:
    type: datahub-rest
    config:
        server: '<http://my-datahub:8080>'
However, when executing the recipy, I get the validation error:
Copy code
'1 validation error for KafkaSourceConfig\n'
           'domain\n'
           '  extra fields not permitted (type=value_error.extra)\n',
According to the source, my deployment of DataHub should support the domain field already. Am I doing something subtly wrong here? Thank you very much for your support!
d
Which version of datahub are you on?
datahub version
l
Hello Tamas, the datahub version is 0.8.24.0
Oh! I am sorry, @dazzling-judge-80093. I just realised that I mixed something up and the version indeed does not yet support the field. Thank you very much for your question 🙂