src/store/modules/schemas.js
/**
   * Fetch the global config from Kafka Schema Registry
   */
Fetch the global config from Kafka Schema Registry
Fetch the global config from Kafka Schema Registry
async fetchGlobalConfig ({commit}) {
    const {data} = await clusters.request(CLUSTER_SCHEMA_REGISTRY, {
      accept: SCHEMA_CONTENT_JSON
    }).get('/config')
    const config = {
      compatibility: data.compatibilityLevel
    }
    commit('setGlobalConfig', config)
  }
async fetchGlobalConfig ( { commit } ) { const { data } = await clusters . request ( CLUSTER_SCHEMA_REGISTRY , { accept : SCHEMA_CONTENT_JSON } ) . get ( '/config' ) const config = { compatibility : data . compatibilityLevel } commit ( 'setGlobalConfig' , config ) }
Fetch the global config from Kafka Schema Registry
Fetch the global config from Kafka Schema Registry