Merge pull request #10499 from thalesmg/schema-registry-protobuf-rocksdb-v50

feat(schema_registry): use rocksdb as table type for protobuf cache
This commit is contained in:
Thales Macedo Garitezi 2023-04-25 15:35:32 -03:00 committed by GitHub
commit 1557bf50e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{application, emqx_ee_schema_registry, [ {application, emqx_ee_schema_registry, [
{description, "EMQX Schema Registry"}, {description, "EMQX Schema Registry"},
{vsn, "0.1.1"}, {vsn, "0.1.2"},
{registered, [emqx_ee_schema_registry_sup]}, {registered, [emqx_ee_schema_registry_sup]},
{mod, {emqx_ee_schema_registry_app, []}}, {mod, {emqx_ee_schema_registry_app, []}},
{applications, [ {applications, [

View File

@ -179,7 +179,7 @@ create_tables() ->
ok = mria:create_table(?PROTOBUF_CACHE_TAB, [ ok = mria:create_table(?PROTOBUF_CACHE_TAB, [
{type, set}, {type, set},
{rlog_shard, ?SCHEMA_REGISTRY_SHARD}, {rlog_shard, ?SCHEMA_REGISTRY_SHARD},
{storage, disc_only_copies}, {storage, rocksdb_copies},
{record_name, protobuf_cache}, {record_name, protobuf_cache},
{attributes, record_info(fields, protobuf_cache)} {attributes, record_info(fields, protobuf_cache)}
]), ]),