# stratio-connector-deep **Repository Path**: mirrors_Stratio/stratio-connector-deep ## Basic Information - **Project Name**: stratio-connector-deep - **Description**: (DEPRECATED) Deep connector for multiple data sources - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2026-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README *This project has been discontinued in favour of [Stratio Crossdata](https://github.com/Stratio/Crossdata), which is a data federation system leveraging Apache Spark capabilities.* Stratio-Connector-Deep ====================== Deep connector for multiple data sources ## Requirements ## [Stratio Connector deep](https://github.com/Stratio/stratio-connector-deep) must be installed and started. [Crossdata] (https://github.com/Stratio/crossdata) is needed to interact with this connector. ## Compiling Stratio Connector Deep ## To automatically build execute the following command: ``` > mvn clean compile install ``` ## Build an executable Connector Deep## To generate the executable execute the following command: ``` > mvn crossdata-connector:install ``` ## Running the Stratio Connector Deep## To run Connector Elasticsearch execute: ``` > cd connector-deep-core/ > target/connector-deep-core-0.4.0-SNAPSHOT/bin/connector-deep-core-0.4.0-SNAPSHOT start ``` To stop the connector execute: ``` > target/connector-deep-core-0.4.0-SNAPSHOT/bin/connector-deep-core-0.4.0-SNAPSHOT stop ``` ## Build a redistributable package ## It is possible too, to create a RPM or DEB redistributable package. RPM Package: > mvn unix:package-rpm -N DEB Package: > mvn unix:package-deb -N Once the package it's created, execute this commands to install: RPM Package: > rpm -i target/stratio-connector-deep-0.4.0-SNAPSHOT.rpm DEB Package: > dpkg -i target/stratio-connector-deep-0.4.0-SNAPSHOT.deb Now to start/stop the connector: > service stratio-connector-deep start > service stratio-connector-deep stop ## How to use Deep Connector ## 1. Start [crossdata-server and then crossdata-shell](https://github.com/Stratio/crossdata). 2. https://github.com/Stratio/crossdata 3. Start Deep Connector as it is explained before 4. In crossdata-shell: Add a datastore with this command: ``` xdsh:user> ADD DATASTORE ; ``` Attach cluster on that datastore. The datastore name must be the same as the defined in the Datastore manifest. ``` xdsh:user> ATTACH CLUSTER ON DATASTORE WITH OPTIONS {'Hosts': '[]', 'Port': }; ``` Add the connector manifest. ``` xdsh:user> ADD CONNECTOR ``` Attach the connector to the previously defined cluster. The connector name must match the one defined in the Connector Manifest. ``` xdsh:user> ATTACH CONNECTOR TO WITH OPTIONS {'DefaultLimit': '1000'}; ``` At this point, we can start to send queries. ... xdsh:user> CREATE CATALOG catalogTest; xdsh:user> USE catalogTest; xdsh:user> CREATE TABLE tableTest ON CLUSTER datastore_prod (id int PRIMARY KEY, name text); ... # License # Stratio Crossdata is licensed as [Apache2](http://www.apache.org/licenses/LICENSE-2.0.txt) Licensed to STRATIO (C) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The STRATIO (C) licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.