Skip to main content

A simple spark streaming handler.

Project description

Spark Streaming Package

Package: SparkStream-pypi

What is it?

It is a handler for processing streaming text data from a kafka topic into cassandra and redis.

How it works?

The stream processing is done by the following steps:

  1. Read data from kafka topic
  2. Parse the data into a spark dataframe with a schema
  3. Clean the data: remove unwanted chars, fix abbreviations, remove stop-words, and remove empty fields
  4. Save the data into cassandra and redis

How to use it?

Use its API: SparkStream-API github

Dependency

The package requires the following dependency:

Its so to be able to write data into redis.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SparkStream-1.3.0.tar.gz (1.2 MB view hashes)

Uploaded source

Built Distribution

SparkStream-1.3.0-py3-none-any.whl (8.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page