Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 2.05 KB

File metadata and controls

39 lines (28 loc) · 2.05 KB

Connector - part of the Open Connector Framework (OCF)

A connector is a java client object that provides applications with access to a data source or service (known as an asset) along with its related metadata.

An OCF connector provides four APIs.

  • Connector Lifecycle: manages the lifecycle state of the connector and includes initialize(), start() and disconnect().
  • Metadata store initialization: if the connector is created by a metadata service then it adds a client to the metadata server called ConnectedAssetProperties to the connector between initialize() and start(). The ConnectedAssetProperties client can be retrieved from the connector instance and used to retrieve metadata about the asset that is stored in the metadata server.
  • Specific initialization for the type of connector: some types of connectors need additional initialization. These methods are called by the component creating the connector before the start() method is called.
  • Asset Content: this API is crafted to provide the most natural interface to the Asset's contents. Therefore the Asset Content API is typically different for each type of connector.

OCF connectors are not limited to representing Assets as they are physically implemented. An OCF connector can represent a simplified logical (virtual) asset, such as a data set, that is designed for the needs of a specific application or tool. This type of connector delegates the requests it receives to one or more physical data resources. It is called a virtual connector.

Further Information

See the Egeria Developer Guide for information on writing connectors.


License: CC BY 4.0, Copyright Contributors to the ODPi Egeria project.