embedded-druid icon indicating copy to clipboard operation
embedded-druid copied to clipboard

dependencies from driud libraries?

Open valenpo opened this issue 9 years ago • 3 comments

Is it self contained library, or has different dependencies from native one druid?

Regards, Valentin.

valenpo avatar Apr 25 '16 14:04 valenpo

It depends on druid jar (https://github.com/eBay/embedded-druid/blob/master/pom.xml) to use different classes like SelectQuery, GroupByQuery, TimeseriesQuery etc.

r4ruchir avatar Apr 25 '16 14:04 r4ruchir

@r4ruchir thanks! Maybe you have experience where/how to store time series data (as druid itself very huge). I need it on build simple analytics for mail system like: from, to, attachments distribution by type, size, message count etc...

Druid and Drill projects that solve mine problem, but has huge overhead.

Thank you.

Regards, Valentin.

valenpo avatar Apr 25 '16 14:04 valenpo

"embedded-druid" is meant for that where you don't need to deploy Druid at all. You can just put dependency on "embedded-druid" in maven project like

 <dependency>       
       <groupId>io.druid</groupId>
    <artifactId>embedded-druid</artifactId>
    <version>1.0</version>
</dependency>

and you should be able to do whatever query you want to do. You can have a look at testcases for sample.

r4ruchir avatar Apr 25 '16 14:04 r4ruchir