Joyce URIs
Everything that goes around Joyce can be identified by a unique URI (Unified Resource Identifier).
It help understand what the content is and is often used as message key in kafka topics to carry metadata about the content, it's also used as unique id to store contents by sinks.
The URI is shaped as follows:
Components of the uri#
TYPE#
Is the type of object the uri represents, Joyce handles these thre types as of writing:
rawa content before getting transformed.schemajoyce schemas.contentcontent transformed.
SUBTYPE#
is a subtype of the object:
connectobjects related to Kafka Connect.importobjects related to the Import Gateway and import phase.modelsomething used by the enterprise version.othereverything else
COLLECTION#
Identify the collection within the object belong, for a content it is the actual collection, for schema is the identifier of the schema that generates a collection of object.
The value is dyanmic and not fixed as the previous one.
ID#
A unique identifier for the object, identifies a single object inside a collection.
Could be optional for some objects like Schema.
Examples#
A schema:
A transformed content:
A content generated by kafka connect:
A content generated by an Import Gateway REST manual invokation: