emqx5.7 如何配置消息持久化?

4.0配置如下:
retainer {
## set to false to disable retainer
enable = true

## Message retention time, default is 0 means the message will never expire
msg_expiry_interval = 5s

## Maximum message size allowed
max_payload_size = 1MB

## When the retained flag of the PUBLISH message is set and Payload is empty, whether to continue to publish the message
stop_publish_clear_msg = false

## Maximum retained messages delivery rate per session
delivery_rate = "1000/s"

## Retained messages store backend
backend {
  ## Built-in database (Mnesia)
  type = built_in_database

  ## Specifies whether the messages are stored in RAM or persisted on disk
  ## Type: enum: ram | disc
  storage_type = disc

  ## Maximum number of retained messages. 0 means no limit
  max_retained_messages = 0
 }

}
5.0应该如何配置?

在etc/emqx.conf中
尝试配置1:
#durable_sessions.enable = true
尝试配置2:
durable_sessions {
enable = true
}
均不正常,请问应该如何配置啊?

这个功能在 5.7 里还没有对外开放,预计会放在 5.8 里

执行|># ./bin/emqx_ctl ds info
ds # Durable storage is disabled
报没有开启持久存储
根据官方,session持久是企业版功能,而持久存储没有说明


按照官方的说明,配置持久存储etc/emqx.conf

durable_storage {
message.data_dir = “/tmp/emqx”
message.n_shards = 3
message.replication_factor = 2
}
启动报错


请问应该如何配置解决?
还是持久存储也是企业版功能?

麻烦看看上一条的回复呢?

请问能给后面答复的疑问给个说明不?