feat(schema_registry): use rocksdb as table type for protobuf cache
This commit is contained in:
parent
2845469c48
commit
99f3965f4e
|
@ -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, [
|
||||||
|
|
|
@ -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)}
|
||||||
]),
|
]),
|
||||||
|
|
Loading…
Reference in New Issue