feat(router): switch to v2 routing store by default
This commit is contained in:
parent
8e409fa898
commit
03843c6071
|
@ -1388,7 +1388,7 @@ fields("broker_routing") ->
|
||||||
sc(
|
sc(
|
||||||
hoconsc:enum([v1, v2]),
|
hoconsc:enum([v1, v2]),
|
||||||
#{
|
#{
|
||||||
default => v1,
|
default => v2,
|
||||||
'readOnly' => true,
|
'readOnly' => true,
|
||||||
desc => ?DESC(broker_routing_storage_schema)
|
desc => ?DESC(broker_routing_storage_schema)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1530,7 +1530,7 @@ sys_event_messages.desc:
|
||||||
|
|
||||||
broker_routing_storage_schema.desc:
|
broker_routing_storage_schema.desc:
|
||||||
"""Routing storage schema.
|
"""Routing storage schema.
|
||||||
Set <code>v1</code> to leave the default.
|
Set <code>v1</code> to use the former schema.
|
||||||
<code>v2</code> is introduced in 5.2. It enables routing through 2 separate tables, one for topic filter and one for regular topic subscriptions. This schema should increase both subscription and routing performance at the cost of slight increase in memory consumption per subscription.
|
<code>v2</code> is introduced in 5.2. It enables routing through 2 separate tables, one for topic filter and one for regular topic subscriptions. This schema should increase both subscription and routing performance at the cost of slight increase in memory consumption per subscription.
|
||||||
NOTE: Schema <code>v2</code> is still experimental.
|
NOTE: Schema <code>v2</code> is still experimental.
|
||||||
NOTE: Full non-rolling cluster restart is needed after altering this option for it to take any effect."""
|
NOTE: Full non-rolling cluster restart is needed after altering this option for it to take any effect."""
|
||||||
|
|
Loading…
Reference in New Issue