Illustration Image

Cassandra.Link

The best knowledge base on Apache Cassandra®

Helping platform leaders, architects, engineers, and operators build scalable real time data platforms.

1/15/2018

Reading time:3 min

Stratio/sparta

by John Doe

After around two years of development, we have decided to discontinue this project due to a major refactor in its structure and in a near future we will launch Sparta 2.0.We would like to thank all the open source community for their contribution.Needless to say that you can continue using this repository as a basis for your developments as it contains the latest stable version as of today and minor issues will be attended.If you are interested in the new Sparta 2.0 with pipelines and workflows, please contact with us in the email sparta@stratio.comAt Stratio, we have implemented several real-time analytics projects based on Apache Spark, Kafka, Flume, Cassandra, ElasticSearch or MongoDB.These technologies were always a perfect fit, but soon we found ourselves writing the same pieces of integration code over and over again.Stratio Sparta is the easiest way to make use of the Apache Spark Streaming technology and all its ecosystem.Choose your input, operations and outputs, and start extracting insights out of your data in real-time.Pure SparkNo need of coding, only declarative analytical workflowsData continuously streamed in & processed in near real-timeReady to use out-of-the-boxPlug & play: flexible workflows (inputs, outputs, transformations, etc…)High performance and Fault ToleranceScalable and High AvailabilityBig Data OLAP on real-time to small dataETLsTriggers over streaming dataSpark SQL language with streaming and batch dataKerberos and CAS compatibleSend one workflow as a JSON to Sparta API and execute in one Spark Cluster your own real-time pluginsSparta as a Job ManagerSend more than one Streaming Job in the Spark Cluster and manage them with a simple UIRun workflows over Mesos, Yarn or SparkStandAloneSparta as a SDKModular components extensible with simple SDKYou can extend several points of the platform to fulfill your needs, such as adding new inputs, outputs, operators, transformations.Add new functions to Kite SDK in order to extend the data cleaning, enrichment and normalization capabilities.On each workflow multiple components can be defined, but now all have the following architectureCore componentsSeveral plugins are been implemented by Stratio Sparta teamTrigger componentWith Sparta is possible to execute queries over the streaming data, execute ETL, aggregations and Simple EventProcessing mixing streaming data with batch data on the trigger process.Aggregation componentThe aggregation process in Sparta is very powerful because is possible to generate efficient OLAP processes withstreaming dataAdvanced feature are been implemented in order to optimize the stateful operations over Spark StreamingInputsTwitterKafkaFlumeRabbitMQSocketWebSocketHDFS/S3OutputsMongoDBCassandraElasticSearchRedisJDBCCSVParquetHttpKafkaHDFS/S3Http RestAvroLogger[Spark Streaming & Spark] (http://spark.apache.org)[SparkSQL] (https://spark.apache.org/sql)[Akka] (http://akka.io)[MongoDB] (http://www.mongodb.org/)[Apache Cassandra] (http://cassandra.apache.org)[ElasticSearch] (https://www.elastic.co)[Redis] (http://redis.io)[Apache Parquet] (http://parquet.apache.org/)[HDFS] (http://hadoop.apache.org/docs/r1.2.1/hdfs_design.html)[Apache Kafka] (http://kafka.apache.org)[Apache Flume] (https://flume.apache.org/)[RabbitMQ] (https://www.rabbitmq.com/)[Spray] (http://spray.io/)[KiteSDK (morphlines)] (http://kitesdk.org/docs/current)[Apache Avro] (https://avro.apache.org/)Sparta provide several advantages to final UsersYou can generate rpm and deb packages by running:mvn clean package -PpackageNote: you need to have installed the following programs in order to build these packages:In a debian distribution:fakerootdpkg-devrpmjqIn a centOS distribution:fakerootdpkg-devrpmdevtoolsjqIn all distributions:Java 8Maven 3Licensed to STRATIO (C) under one or more contributor license agreements.See the NOTICE file distributed with this work for additional informationregarding copyright ownership. The STRATIO (C) licenses this fileto you under the Apache License, Version 2.0 (the"License"); you may not use this file except in compliancewith the License. You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless 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 ANYKIND, either express or implied. See the License for thespecific language governing permissions and limitationsunder the License.

Illustration Image

After around two years of development, we have decided to discontinue this project due to a major refactor in its structure and in a near future we will launch Sparta 2.0.

We would like to thank all the open source community for their contribution. Needless to say that you can continue using this repository as a basis for your developments as it contains the latest stable version as of today and minor issues will be attended.

If you are interested in the new Sparta 2.0 with pipelines and workflows, please contact with us in the email sparta@stratio.com

At Stratio, we have implemented several real-time analytics projects based on Apache Spark, Kafka, Flume, Cassandra, ElasticSearch or MongoDB. These technologies were always a perfect fit, but soon we found ourselves writing the same pieces of integration code over and over again. Stratio Sparta is the easiest way to make use of the Apache Spark Streaming technology and all its ecosystem. Choose your input, operations and outputs, and start extracting insights out of your data in real-time.

Strata Twitter Analytics with Kibana

  • Pure Spark
  • No need of coding, only declarative analytical workflows
  • Data continuously streamed in & processed in near real-time
  • Ready to use out-of-the-box
  • Plug & play: flexible workflows (inputs, outputs, transformations, etc…)
  • High performance and Fault Tolerance
  • Scalable and High Availability
  • Big Data OLAP on real-time to small data
  • ETLs
  • Triggers over streaming data
  • Spark SQL language with streaming and batch data
  • Kerberos and CAS compatible

Main Features

Send one workflow as a JSON to Sparta API and execute in one Spark Cluster your own real-time plugins Architecture

Sparta as a Job Manager

Send more than one Streaming Job in the Spark Cluster and manage them with a simple UI

Job Manager

Run workflows over Mesos, Yarn or SparkStandAlone

Job Manager Architecture

Sparta as a SDK

Modular components extensible with simple SDK

  • You can extend several points of the platform to fulfill your needs, such as adding new inputs, outputs, operators, transformations.
  • Add new functions to Kite SDK in order to extend the data cleaning, enrichment and normalization capabilities. Architecture Detail

On each workflow multiple components can be defined, but now all have the following architecture workflow Components

Core components

Several plugins are been implemented by Stratio Sparta team Main plugins

Trigger component

With Sparta is possible to execute queries over the streaming data, execute ETL, aggregations and Simple Event Processing mixing streaming data with batch data on the trigger process. triggers

Aggregation component

The aggregation process in Sparta is very powerful because is possible to generate efficient OLAP processes with streaming data OLAP

Advanced feature are been implemented in order to optimize the stateful operations over Spark Streaming Aggregations

Inputs

  • Twitter
  • Kafka
  • Flume
  • RabbitMQ
  • Socket
  • WebSocket
  • HDFS/S3

Outputs

  • MongoDB
  • Cassandra
  • ElasticSearch
  • Redis
  • JDBC
  • CSV
  • Parquet
  • Http
  • Kafka
  • HDFS/S3
  • Http Rest
  • Avro
  • Logger

Outputs

Sparta provide several advantages to final Users Advantages

You can generate rpm and deb packages by running:

mvn clean package -Ppackage

Note: you need to have installed the following programs in order to build these packages:

In a debian distribution:

  • fakeroot
  • dpkg-dev
  • rpm
  • jq

In a centOS distribution:

  • fakeroot
  • dpkg-dev
  • rpmdevtools
  • jq

In all distributions:

  • Java 8
  • Maven 3

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.

Related Articles

analytics
streaming
visualization

Keen - Event Streaming Platform

John Doe

2/3/2024

cassandra
spark

Checkout Planet Cassandra

Claim Your Free Planet Cassandra Contributor T-shirt!

Make your contribution and score a FREE Planet Cassandra Contributor T-Shirt! 
We value our incredible Cassandra community, and we want to express our gratitude by sending an exclusive Planet Cassandra Contributor T-Shirt you can wear with pride.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company

Explore Related Topics

AllKafkaSparkScyllaSStableKubernetesApiGithubGraphQl

Explore Further

mesos