Data Collector Usage#


The following sections include explanations and examples of the extensive usage and implementation of the StreamSets SDK for Python, specifically pertaining to the use of the SDK with StreamSets Data Collector.

Importing the DataCollector Module#

The examples below assume you’ve installed the streamsets library, activated the library, and are inside a Python 3.4+ interpreter.

Use of the SDK begins by importing the library. For convenience, we tend to directly import the classes we need:

from streamsets.sdk import DataCollector