Details
-
Improvement
-
Status: Resolved
-
P2
-
Resolution: Won't Fix
-
None
Description
Looking at the java doc comment of SchemaProvider it hints at getting schema's from external system. But as the provider only access type this is in general impossible:
Say you have 2 dynamic types, say Avro, as a java type they have both GenericRecord. Using the current interface it's impossible to make the difference between both dynamic types.
As getting information from an external system I propose extending the Provider interface by adding an extra parameter to the interface. It would be a string with a URN.
The URN could indicated for example
- Pub/Sub subscription/topic
- Kafka topic
- whatever...