Skip to content

File Connector

Ahmed Elbahtemy edited this page Apr 26, 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

N

Checkpoint Type

Line Number

Configuration

Property Description Default

maxExecProcessors

Number of threads in the thread

pool used for reading input files

5

numPartitions

Number of input file partitions

1

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.