Skip to content

File Connector

Ahmed Abdul Hamid edited this page Sep 3, 2019 · 11 revisions

Contents

Overview

  • FileConnector is intended for consuming text files from the file system

  • A demo that uses FileConnector is available in Streaming Text Files to Kafka.

Summary

Supports Datastream Updates

No

Checkpoint Type

Line Number

Configuration

Property Description Default

maxExecProcessors

Number of threads in the thread

pool used for reading input files

5

Diagnostics

URL

Single Brooklin instance

  • GET /diag?q=status&type=connector&scope=:componentScope&content=:componentInput/

All Brooklin instances

  • GET /diag?q=allStatus&type=connector&scope=:componentScope&content=:componentInput/

URL Params

  • componentScope

  • componentInput

    • Only supported value is "position"

    • Reports the number of lines read so far

Metrics

FileConnector does not expose any connector-specific metrics. Only general connector metrics are provided.