-
Notifications
You must be signed in to change notification settings - Fork 13
core.SchemaPool
Narciso edited this page Mar 17, 2020
·
1 revision
Add a list of schemas to pool
Pool.addList = function(list){
// logic
}Add a schema to pool, this mechanism has logic to fetch schemas form registry
Pool.add = function(topic){
// logic
}Set schema to pool, this mechanism will only set the schema to pool ( map ) : NO fetch
Pool.set = function(topic){
// logic
}fetch schema from registry by id then set on pool
Pool.getById = function(topic){
// logic
}fetch schema from registry by name then set on pool
Pool.getByName = function(topic){
// logic
}