GitXplorerGitXplorer
t

tormenta

public
132 stars
41 forks
6 issues

Commits

List of commits on branch develop.
Verified
988bbe50ddd4efa792e470fa0d2a8ddacba97b72

Merge pull request #77 from twitter/add_tls_to_urls

aalanbato committed 5 years ago
Unverified
7f71c77cd7ea9f73d36711d1449534719e4f51f5

Replace http with https in files

aalanbato committed 5 years ago
Unverified
50cf4773fd188a6ae82ab87e306a58c064cced1e

Setting version to 0.12.1-SNAPSHOT (#76)

tttim committed 8 years ago
Unverified
77fb210f8d89ed90469253867468ab6b137972e0

Merge branch 'release/0.12.0' into develop

committed 8 years ago
Unverified
61541d929ae261ef250a8d72aa28b1401bccbcc4

Update changes, readme and version

committed 8 years ago
Unverified
d73f6bb672d9fa2298780573adc429ffd288ef85

Merge pull request #75 from ttim/scala_2.12

tttim committed 8 years ago

README

The README file for this repository.

Tormenta

Build Status Codecov branch Latest version Chat

Scala extensions for the Storm distributed computation system. Tormenta adds a type-safe wrapper over Storm's Kafka spout. This type safety allows the user to push mapping and filtering transformations down to the level of the spout itself:

import com.twitter.tormenta.scheme._
import com.twitter.tormenta.spout._

// produces strings:
val scheme: Scheme[String] = Scheme { bytes => Some(new String(bytes)) }

// produces integers w/ string length:
val mappedScheme: Scheme[Int] = scheme.map(_.length)

// filters out all tuples less than 5:
val filteredScheme: Scheme[Int] = mappedScheme.filter(_ > 5)

// produces lengths for input strings > length of 5
val spout: KafkaSpout[Int] = new KafkaSpout(filteredScheme, zkHost, brokerZkPath, topic, appID, zkRoot)

To use a Spout[T] in a Storm topology, call the getSpout method:

topologyBuilder.setSpout("spoutName", spout.getSpout, 10)

Now you're cooking with gas.

Documentation

To learn more and find links to tutorials and information around the web, check out the Tormenta Wiki.

The latest ScalaDocs are hosted on Tormenta's Github Project Page.

Contact

Discussion occurs primarily on the Tormenta mailing list. Issues should be reported on the GitHub issue tracker.

Get Involved + Code of Conduct

Pull requests and bug reports are always welcome!

We use a lightweight form of project governence inspired by the one used by Apache projects. Please see Contributing and Committership for our code of conduct and our pull request review process. The TL;DR is send us a pull request, iterate on the feedback + discussion, and get a +1 from a Committer in order to get your PR accepted.

The current list of active committers (who can +1 a pull request) can be found here: Committers

A list of contributors to the project can be found here: Contributors

Maven

Tormenta modules are available on Maven Central. The current groupid and version for all modules is, respectively, "com.twitter" and 0.12.0.

Current published artifacts are

  • tormenta-core_2.12
  • tormenta-core_2.11
  • tormenta-core_2.10
  • tormenta-kafka_2.12
  • tormenta-kafka_2.11
  • tormenta-kafka_2.10
  • tormenta-twitter_2.12
  • tormenta-twitter_2.11
  • tormenta-twitter_2.10

The suffix denotes the scala version.

Authors

License

Copyright 2017 Twitter, Inc.

Licensed under the Apache License, Version 2.0.