confluent-schema-registry-node
Version:
Confluent Schema Registry API Node.js Client
8 lines (6 loc) • 329 B
JavaScript
var schemaRegistryApi = require('confluent-schema-registry-node');
console.log("Get current global compatibilityLevel");
schemaRegistryApi.getGlobalCompatibilityLevel();
console.log("\n");
console.log("Update current global compatibilityLevel");
schemaRegistryApi.updateGlobalCompatibilityLevel({ "compatibility" : "FORWARD"});