Product Documentation

MQTT V3 Plug-in Reference

Previous Topic

Next Topic

"tableRetentionUnit"

  • String
  • Optional
  • Defaults to "forever", which causes the table to retain all data and ignore the "tableRetentionPeriod" property value.

"tableRetentionPeriod" is the unit of measure for the "tableRetentionPeriod" property.

Valid values:

  • "forever"
  • "minute" — a new partition is created at the beginning of each minute
  • "hour" — a new partition is created at the beginning of each hour
  • "day" — a new partition is created at the beginning of each day
  • "week" — a new partition is created at the beginning of each week
  • "month" — a new partition is created at the beginning of each month
  • "year" — a new partition is created at the beginning of each year

"AlterPersistenceTopic" cannot modify the retention unit of measure.

To change this property, you must delete the table and recreate the table with the desired settings.

TOCIndex