序列化表格

  • 程序包 org.apache.pulsar.io.file

    • 类 org.apache.pulsar.io.file.FileSourceConfig

      class FileSourceConfig extends Object implements Serializable
      serialVersionUID:
      1L
      • 序列化字段

        • fileFilter
          String fileFilter
          Only files whose names match the given regular expression will be picked up.
        • ignoreHiddenFiles
          Boolean ignoreHiddenFiles
          Indicates whether or not hidden files should be ignored or not.
        • inputDirectory
          String inputDirectory
          The input directory from which to pull files.
        • keepFile
          Boolean keepFile
          If true, the file is not deleted after it has been processed and causes the file to be picked up continually.
        • maximumFileAge
          Long maximumFileAge
          The maximum age that a file must be in order to be processed; any file older than this amount of time (according to last modification date) will be ignored.
        • maximumSize
          Double maximumSize
          The maximum size (in bytes) that a file can be in order to be processed.
        • minimumFileAge
          Integer minimumFileAge
          The minimum age that a file must be in order to be processed; any file younger than this amount of time (according to last modification date) will be ignored.
        • minimumSize
          Integer minimumSize
          The minimum size (in bytes) that a file must be in order to be processed.
        • numWorkers
          Integer numWorkers
          The number of worker threads that will be processing the files. This allows you to process a larger number of files concurrently. However, setting this to a value greater than 1 will result in the data from multiple files being "intermingled" in the target topic.
        • pathFilter
          String pathFilter
          When 'recurse' property is true, then only sub-directories whose path matches the given regular expression will be scanned.
        • pollingInterval
          Long pollingInterval
          Indicates how long to wait before performing a directory listing.
        • processedFileSuffix
          String processedFileSuffix
          If set, do not delete but only rename file that has been processed. This config only work when 'keepFile' property is false.
        • recurse
          Boolean recurse
          Indicates whether or not to pull files from sub-directories.