tranquility-core


License

License

Categories

Categories

druid Data Databases
GroupId

GroupId

io.druid
ArtifactId

ArtifactId

tranquility-core_2.11
Last Version

Last Version

0.8.3
Release Date

Release Date

Type

Type

jar
Description

Description

tranquility-core
tranquility-core
Project URL

Project URL

https://github.com/druid-io/tranquility
Project Organization

Project Organization

io.druid
Source Code Management

Source Code Management

https://github.com/druid-io/tranquility.git

Download tranquility-core_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/io.druid/tranquility-core_2.11/ -->
<dependency>
    <groupId>io.druid</groupId>
    <artifactId>tranquility-core_2.11</artifactId>
    <version>0.8.3</version>
</dependency>
// https://jarcasting.com/artifacts/io.druid/tranquility-core_2.11/
implementation 'io.druid:tranquility-core_2.11:0.8.3'
// https://jarcasting.com/artifacts/io.druid/tranquility-core_2.11/
implementation ("io.druid:tranquility-core_2.11:0.8.3")
'io.druid:tranquility-core_2.11:jar:0.8.3'
<dependency org="io.druid" name="tranquility-core_2.11" rev="0.8.3">
  <artifact name="tranquility-core_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.druid', module='tranquility-core_2.11', version='0.8.3')
)
libraryDependencies += "io.druid" % "tranquility-core_2.11" % "0.8.3"
[io.druid/tranquility-core_2.11 "0.8.3"]

Dependencies

compile (29)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.8
com.metamx : scala-util_2.11 jar 1.13.6
com.metamx : java-util jar 0.28.2
io.netty : netty jar 3.10.5.Final
org.apache.curator : curator-client jar 2.12.0
org.apache.curator : curator-framework jar 2.12.0
org.apache.curator : curator-recipes jar 2.12.0
org.apache.curator : curator-x-discovery jar 2.12.0
com.twitter : util-core_2.11 jar 6.42.0
com.twitter : finagle-core_2.11 jar 6.43.0
com.twitter : finagle-http_2.11 jar 6.43.0
com.github.finagle : finagle-http-auth_2.11 jar 0.1.0
org.slf4j : slf4j-api jar 1.7.25
org.apache.httpcomponents : httpclient jar 4.3.3
org.apache.httpcomponents : httpcore jar 4.3.3
com.google.code.findbugs : jsr305 jar 2.0.1
org.codehaus.jackson : jackson-core-asl jar 1.9.13
org.codehaus.jackson : jackson-mapper-asl jar 1.9.13
com.fasterxml.jackson.core : jackson-core jar 2.4.6
com.fasterxml.jackson.core : jackson-annotations jar 2.4.6
com.fasterxml.jackson.core : jackson-databind jar 2.4.6
com.fasterxml.jackson.dataformat : jackson-dataformat-smile jar 2.4.6
com.fasterxml.jackson.datatype : jackson-datatype-joda jar 2.4.6
com.fasterxml.jackson.module : jackson-module-scala_2.11 jar 2.4.5
io.druid : druid-server jar 0.9.2
com.google.inject : guice jar 4.0
com.google.inject.extensions : guice-servlet jar 4.0
com.google.inject.extensions : guice-multibindings jar 4.0
javax.validation : validation-api jar 1.1.0.Final

test (12)

Group / Artifact Type Version
org.slf4j : jul-to-slf4j jar 1.7.12
org.scalatest : scalatest_2.11 jar 2.2.5
io.druid : druid-services jar 0.9.2
org.apache.curator : curator-test jar 2.12.0
com.sun.jersey : jersey-servlet jar 1.17.1
junit : junit jar 4.12
com.novocode : junit-interface jar 0.11
ch.qos.logback : logback-core jar 1.1.2
ch.qos.logback : logback-classic jar 1.1.2
org.apache.logging.log4j : log4j-to-slf4j jar 2.4
org.apache.logging.log4j : log4j-api jar 2.4
org.slf4j : log4j-over-slf4j jar 1.7.12

Project Modules

There are no modules declared in this project.

Tranquility

“Stay close, my friends, and I will heal your wounds.”
         —Mythen of the Wild

Tranquility helps you send event streams to Druid, the raddest data store ever (http://druid.io/), in real-time. It handles partitioning, replication, service discovery, and schema rollover for you, seamlessly and without downtime. Tranquility is written in Scala, and bundles idiomatic Java and Scala APIs that work nicely with Finagle, Samza, Spark, Storm, and Trident.

This project is a friend of Druid. For discussion, feel free to use the normal Druid channels: http://druid.io/community/

Documentation

General:

  • Overview - Introduction to Tranquility concepts, including details about how it creates and manages Druid tasks.
  • Configuration - The first step to using Tranquility is to configure it appropriately for your Druid dataSource. This is generally done through a configuration file, with optional refinements in code.
  • Troubleshooting - Solutions to common problems.

Modules:

  • Core - The most basic data-sending API. You will likely use this one unless you are using one of the higher-level modules.
  • Server - HTTP server that allows you to use Tranquility without developing a JVM app.
  • Samza - Tranquility includes a Samza SystemProducer.
  • Spark - Tranquility works with RDDs and DStreams.
  • Storm - Tranquility includes a Storm Bolt and a Trident State.
  • Kafka - Application to push messages from Kafka into Druid through Tranquility.
  • Flink - Tranquility includes a Flink Sink.

Getting Tranquility with Maven

Tranquility Core, Samza, Spark, Storm and Flink are meant to be included in an application that you write. Those modules are hosted on Maven Central to make them easy to include. The current stable versions are:

<dependency>
  <groupId>io.druid</groupId>
  <artifactId>tranquility-core_2.11</artifactId>
  <version>0.8.2</version>
</dependency>
<dependency>
  <groupId>io.druid</groupId>
  <artifactId>tranquility-samza_2.11</artifactId>
  <version>0.8.2</version>
</dependency>
<dependency>
  <groupId>io.druid</groupId>
  <artifactId>tranquility-spark_2.11</artifactId>
  <version>0.8.2</version>
</dependency>
<dependency>
  <groupId>io.druid</groupId>
  <artifactId>tranquility-storm_2.11</artifactId>
  <version>0.8.2</version>
</dependency>
<dependency>
  <groupId>io.druid</groupId>
  <artifactId>tranquility-flink_2.11</artifactId>
  <version>0.8.2</version>
</dependency>

You only need to include the modules you are actually using.

All Tranquility modules are built for Scala 2.11.

This 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 v0.3.2, which is the most recent version built for use with Druid 0.6.x.

Tranquility is built with SBT. If you want to build the jars yourself, you can run sbt +package. To build a distribution tarball, run sbt ++2.11.8 'project distribution' universal:packageZipTarball.

Downloadable Distribution

The Tranquility downloadable distribution includes the Server and Kafka programs, which are standalone programs that can be used without writing any code. You can download the distribution and run them directly. The distribution also includes the Core API artifacts, if you prefer to download them rather than get them through Maven.

The current distribution is: tranquility-distribution-0.8.2.

To use it, first download it and then unpack it into your directory of choice by running tar -xzf tranquility-distribution-0.8.2.tgz.

How to Contribute

See CONTRIBUTING.md.

io.druid

Druid

Versions

Version
0.8.3
0.8.2
0.8.1
0.8.0
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.4
0.6.3
0.6.2