Using java to ingest csv data

Hi there,

I’m a new user to druid. I’d like to know, what do I have to do to ingest some data from a CSV file, through a java application.

I can ingest a csv through the console perfectly fine, with the quickstart script. But I have no idea how to connect to the druid db with java.

There’s no JDBC driver, right?

Thank you in advance.

Fede

Hi Fede, we are starting to work on a JDBC driver: http://imply.io/post/2016/05/04/programmatic-plyql.html

This is mainly designed for the query side. For a CSV file though, you can use Druid’s HTTP endpoints directly in your java program.