{"id":29376487,"url":"https://github.com/twitter/tormenta","last_synced_at":"2025-07-09T22:43:11.126Z","repository":{"id":57729226,"uuid":"5813282","full_name":"twitter/tormenta","owner":"twitter","description":"Scala extensions for Storm","archived":false,"fork":false,"pushed_at":"2019-06-07T01:01:52.000Z","size":470,"stargazers_count":134,"open_issues_count":6,"forks_count":37,"subscribers_count":133,"default_branch":"develop","last_synced_at":"2025-06-07T23:53:07.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twitter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-14T18:43:20.000Z","updated_at":"2025-01-08T17:45:40.000Z","dependencies_parsed_at":"2022-09-10T21:51:22.840Z","dependency_job_id":null,"html_url":"https://github.com/twitter/tormenta","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/twitter/tormenta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitter%2Ftormenta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitter%2Ftormenta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitter%2Ftormenta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitter%2Ftormenta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twitter","download_url":"https://codeload.github.com/twitter/tormenta/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twitter%2Ftormenta/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264504616,"owners_count":23618831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-09T22:43:10.643Z","updated_at":"2025-07-09T22:43:11.119Z","avatar_url":"https://github.com/twitter.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Tormenta\n\n[![Build Status](https://secure.travis-ci.org/twitter/tormenta.png)](http://travis-ci.org/twitter/tormenta)\n[![Codecov branch](https://img.shields.io/codecov/c/github/twitter/tormenta/develop.svg?maxAge=3600)](https://codecov.io/github/twitter/tormenta)\n[![Latest version](https://index.scala-lang.org/twitter/tormenta/tormenta-core/latest.svg?color=orange)](https://index.scala-lang.org/twitter/tormenta/tormenta-core)\n[![Chat](https://badges.gitter.im/twitter/tormenta.svg)](https://gitter.im/twitter/tormenta?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nScala extensions for the [Storm](https://github.com/nathanmarz/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:\n\n```scala\nimport com.twitter.tormenta.scheme._\nimport com.twitter.tormenta.spout._\n\n// produces strings:\nval scheme: Scheme[String] = Scheme { bytes =\u003e Some(new String(bytes)) }\n\n// produces integers w/ string length:\nval mappedScheme: Scheme[Int] = scheme.map(_.length)\n\n// filters out all tuples less than 5:\nval filteredScheme: Scheme[Int] = mappedScheme.filter(_ \u003e 5)\n\n// produces lengths for input strings \u003e length of 5\nval spout: KafkaSpout[Int] = new KafkaSpout(filteredScheme, zkHost, brokerZkPath, topic, appID, zkRoot)\n```\n\nTo use a `Spout[T]` in a Storm topology, call the `getSpout` method:\n\n```scala\ntopologyBuilder.setSpout(\"spoutName\", spout.getSpout, 10)\n```\n\nNow you're cooking with gas.\n\n## Documentation\n\nTo learn more and find links to tutorials and information around the web, check out the [Tormenta Wiki](https://github.com/twitter/tormenta/wiki).\n\nThe latest ScalaDocs are hosted on Tormenta's [Github Project Page](http://twitter.github.io/tormenta).\n\n## Contact\n\nDiscussion occurs primarily on the [Tormenta mailing list](https://groups.google.com/forum/#!forum/tormenta-user). Issues should be reported on the [GitHub issue tracker](https://github.com/twitter/tormenta/issues).\n\n## Get Involved + Code of Conduct\nPull requests and bug reports are always welcome!\n\nWe use a lightweight form of project governence inspired by the one used by Apache projects.\nPlease see [Contributing and Committership](https://github.com/twitter/analytics-infra-governance#contributing-and-committership) for our code of conduct and our pull request review process.\nThe TL;DR is send us a pull request, iterate on the feedback + discussion, and get a +1 from a [Committer](COMMITTERS.md) in order to get your PR accepted.\n\nThe current list of active committers (who can +1 a pull request) can be found here: [Committers](COMMITTERS.md)\n\nA list of contributors to the project can be found here: [Contributors](https://github.com/twitter/tormenta/graphs/contributors)\n\n## Maven\n\nTormenta modules are available on Maven Central. The current groupid and version for all modules is, respectively, `\"com.twitter\"` and  `0.12.0`.\n\nCurrent published artifacts are\n\n* `tormenta-core_2.12`\n* `tormenta-core_2.11`\n* `tormenta-core_2.10`\n* `tormenta-kafka_2.12`\n* `tormenta-kafka_2.11`\n* `tormenta-kafka_2.10`\n* `tormenta-twitter_2.12`\n* `tormenta-twitter_2.11`\n* `tormenta-twitter_2.10`\n\nThe suffix denotes the scala version.\n\n## Authors\n\n* Oscar Boykin \u003chttps://twitter.com/posco\u003e\n* Sam Ritchie \u003chttps://twitter.com/sritchie\u003e\n\n## License\n\nCopyright 2017 Twitter, Inc.\n\nLicensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwitter%2Ftormenta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwitter%2Ftormenta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwitter%2Ftormenta/lists"}