How to specify the namespace so that it appears in the generated schema? How to set this value for MongoDB, Couchbase and AVRO?
The concept of name spacing varies for each of the different NoSQL databases.
Please find the details for specifying name spacing for different database like:
In MongoDB, a namespace relies on the collection and the naming pattern it uses is <database>.<collection>. Collections can be further organized by using a namespace/package notation style with a “dot” separator such as “logs.dev”.
Couchbase does not have namespaces. A variety of documents can be stored under a bucket. There is a limitation of how many buckets can be created for a cluster. Therefore, buckets are not a suitable means of namespacing. However, Couchbase suggests to replace namespacing by using semantic prefixes and suffixes in your key names and to use document types by creating a field that denotes the type of document such as “type”.
AVRO schema states that named types (records, enums, fixed) can be namespaced to fully qualify a name. This value can be defined via the properties panel when creating records or assigning named types to record fields.