feat(schema_registry): use rocksdb as table type for protobuf cache

This commit is contained in:
Thales Macedo Garitezi 2023-04-24 14:24:42 -03:00
parent 2845469c48
commit 99f3965f4e
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)}
]), ]),