emqx_ft_schema.hocon 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. emqx_ft_schema {
  2. enable.desc:
  3. """Enable the File Transfer feature.<br/>
  4. Enabling File Transfer implies reserving special MQTT topics in order to serve the protocol.<br/>
  5. This toggle also affects the availability of the File Transfer REST API and
  6. storage-dependent background activities (e.g. garbage collection)."""
  7. init_timeout.desc:
  8. """Timeout for EMQX to initialize the file transfer.<br/>
  9. After reaching the timeout (e.g. due to system is overloaded), the PUBACK message for `init` will contain error code (0x80)."""
  10. assemble_timeout.desc:
  11. """Timeout for assembling and exporting file segments into a final file.<br/>
  12. After reaching the timeout (e.g. due to system is overloaded), the PUBACK message for `fin` will contain error code (0x80)"""
  13. store_segment_timeout.desc:
  14. """Timeout for storing a file segment.<br/>
  15. After reaching the timeout (e.g. due to system overloaded), the PUBACK message will contain error code (0x80)."""
  16. backend_enable.desc:
  17. """Whether to enable this backend."""
  18. storage_backend.desc:
  19. """Storage settings for file transfer."""
  20. local_storage.desc:
  21. """Local file system backend to store uploaded fragments and temporary data."""
  22. local_storage_segments.desc:
  23. """Settings for local segments storage, which include uploaded transfer fragments and temporary data."""
  24. local_storage_segments_root.desc:
  25. """File system path to keep uploaded fragments and temporary data."""
  26. local_storage_exporter_backend.desc:
  27. """Exporter for the local file system storage backend.<br/>
  28. Exporter defines where and how fully transferred and assembled files are stored."""
  29. local_storage_exporter.desc:
  30. """Exporter to the local file system."""
  31. s3_exporter.desc:
  32. """Exporter to the S3 API compatible object storage."""
  33. local_storage_exporter_root.desc:
  34. """Directory where the uploaded files are kept."""
  35. local_storage_segments_gc.desc:
  36. """Garbage collection settings for the intermediate and temporary files in the local file system."""
  37. storage_gc_interval.desc:
  38. """Interval of periodic garbage collection."""
  39. storage_gc_max_segments_ttl.desc:
  40. """Maximum TTL of a segment kept in the local file system.<br/>
  41. This is a hard limit: no segment will outlive this TTL, even if some file transfer specifies a
  42. TTL more than that."""
  43. storage_gc_min_segments_ttl.desc:
  44. """Minimum TTL of a segment kept in the local file system.<br/>
  45. This is a hard limit: no segment will be garbage collected before reaching this TTL,
  46. even if some file transfer specifies a TTL less than that."""
  47. }