{"id":13795287,"url":"https://github.com/druid-io/tranquility","last_synced_at":"2026-01-11T16:57:44.617Z","repository":{"id":14113097,"uuid":"16817857","full_name":"druid-io/tranquility","owner":"druid-io","description":"Tranquility helps you send real-time event streams to Druid and handles partitioning, replication, service discovery, and schema rollover, seamlessly and without downtime.","archived":false,"fork":false,"pushed_at":"2020-01-13T10:29:28.000Z","size":1053,"stargazers_count":515,"open_issues_count":103,"forks_count":234,"subscribers_count":59,"default_branch":"master","last_synced_at":"2024-04-14T23:59:06.267Z","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/druid-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-13T21:30:05.000Z","updated_at":"2024-04-02T17:41:37.000Z","dependencies_parsed_at":"2022-09-26T22:10:35.496Z","dependency_job_id":null,"html_url":"https://github.com/druid-io/tranquility","commit_stats":null,"previous_names":[],"tags_count":84,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/druid-io%2Ftranquility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/druid-io%2Ftranquility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/druid-io%2Ftranquility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/druid-io%2Ftranquility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/druid-io","download_url":"https://codeload.github.com/druid-io/tranquility/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225157000,"owners_count":17429698,"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":"2024-08-03T23:00:54.263Z","updated_at":"2026-01-11T16:57:44.586Z","avatar_url":"https://github.com/druid-io.png","language":"Scala","funding_links":[],"categories":["大数据"],"sub_categories":["Spring Cloud框架"],"readme":"## Tranquility\n\n\u003e \u0026#8220;Stay close, my friends, and I will heal your wounds.\u0026#8221;\u003cbr /\u003e\n\u003e \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026mdash;Mythen of the Wild\n\nTranquility helps you send event streams to Druid, the raddest data store ever (http://druid.io/), in real-time. It\nhandles partitioning, replication, service discovery, and schema rollover for you, seamlessly and without downtime.\nTranquility is written in Scala, and bundles idiomatic Java and Scala APIs that work nicely with Finagle, Samza, Spark,\nStorm, and Trident.\n\nThis project is a friend of Druid. For discussion, feel free to use the normal Druid channels: http://druid.io/community/\n\n### Documentation\n\nGeneral:\n\n- [Overview](docs/overview.md) - Introduction to Tranquility concepts, including details about how it creates and\n  manages Druid tasks.\n- [Configuration](docs/configuration.md) - The first step to using Tranquility is to configure it appropriately for your\n  Druid dataSource. This is generally done through a configuration file, with optional refinements in code.\n- [Troubleshooting](docs/trouble.md) - Solutions to common problems.\n\nModules:\n\n- [Core](docs/core.md) - The most basic data-sending API. You will likely use this one unless you are using\n  one of the higher-level modules.\n- [Server](docs/server.md) - HTTP server that allows you to use Tranquility without developing a JVM app.\n- [Samza](docs/samza.md) - Tranquility includes a Samza SystemProducer.\n- [Spark](docs/spark.md) - Tranquility works with RDDs and DStreams.\n- [Storm](docs/storm.md) - Tranquility includes a Storm Bolt and a Trident State.\n- [Kafka](docs/kafka.md) - Application to push messages from Kafka into Druid through Tranquility.\n- [Flink](docs/flink.md) - Tranquility includes a Flink Sink.\n\n### Getting Tranquility with Maven\n\nTranquility [Core](docs/core.md), [Samza](docs/samza.md), [Spark](docs/spark.md), [Storm](docs/storm.md) and \n[Flink](docs/flink.md) are meant to be included in an application that you write. Those modules are hosted on Maven \nCentral to make them easy to include. The current stable versions are:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.druid\u003c/groupId\u003e\n  \u003cartifactId\u003etranquility-core_2.11\u003c/artifactId\u003e\n  \u003cversion\u003e0.8.2\u003c/version\u003e\n\u003c/dependency\u003e\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.druid\u003c/groupId\u003e\n  \u003cartifactId\u003etranquility-samza_2.11\u003c/artifactId\u003e\n  \u003cversion\u003e0.8.2\u003c/version\u003e\n\u003c/dependency\u003e\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.druid\u003c/groupId\u003e\n  \u003cartifactId\u003etranquility-spark_2.11\u003c/artifactId\u003e\n  \u003cversion\u003e0.8.2\u003c/version\u003e\n\u003c/dependency\u003e\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.druid\u003c/groupId\u003e\n  \u003cartifactId\u003etranquility-storm_2.11\u003c/artifactId\u003e\n  \u003cversion\u003e0.8.2\u003c/version\u003e\n\u003c/dependency\u003e\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.druid\u003c/groupId\u003e\n  \u003cartifactId\u003etranquility-flink_2.11\u003c/artifactId\u003e\n  \u003cversion\u003e0.8.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nYou only need to include the modules you are actually using.\n\nAll Tranquility modules are built for Scala 2.11.\n\nThis version is built to work with Druid 0.7.x and 0.8.x. If you are using Druid 0.6.x, you may want to use Tranquility\nv0.3.2, which is the most recent version built for use with Druid 0.6.x.\n\nTranquility is built with [SBT](http://www.scala-sbt.org/). If you want to build the jars yourself, you can\nrun `sbt +package`. To build a distribution tarball, run `sbt ++2.11.8 'project distribution' universal:packageZipTarball`.\n\n### Downloadable Distribution\n\nThe Tranquility downloadable distribution includes the [Server](docs/server.md) and [Kafka](docs/kafka.md) programs,\nwhich are standalone programs that can be used without writing any code. You can download the distribution and\nrun them directly. The distribution also includes the [Core API](docs/core.md) artifacts, if you prefer to download\nthem rather than get them through Maven.\n\nThe current distribution is:\n[tranquility-distribution-0.8.2](http://static.druid.io/tranquility/releases/tranquility-distribution-0.8.2.tgz).\n\nTo use it, first download it and then unpack it into your directory of choice by running\n`tar -xzf tranquility-distribution-0.8.2.tgz`.\n\n### How to Contribute\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdruid-io%2Ftranquility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdruid-io%2Ftranquility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdruid-io%2Ftranquility/lists"}