In order to support different namespaces/domains (i.e. multi-tenancy), we need a way to inject the namespace in the exporter and pass it to the connector. This can be useful to collect data from multiple environments (e.g. dev/stage/prod) by a single consumer, especially, for building a testing tool and running multiple test cases.
The namespace should be injected into the exporter via the constructor, the arguments, or the environment variables.
The exporter should set the namespace for each exported record, for example, in some metadata.
The (Java) connector should be able to read the namespace from the record.
In order to support different namespaces/domains (i.e. multi-tenancy), we need a way to inject the namespace in the exporter and pass it to the connector. This can be useful to collect data from multiple environments (e.g. dev/stage/prod) by a single consumer, especially, for building a testing tool and running multiple test cases.
The namespace should be injected into the exporter via the constructor, the arguments, or the environment variables.
The exporter should set the namespace for each exported record, for example, in some metadata.
The (Java) connector should be able to read the namespace from the record.