Loading data from kafka topic to druid using tranquility kafka

Hi,

I’m trying to ingest data from Kafka to druid using tranquitily kafka. But looks like it doesn’t pickup kafka topic. The below is my tranquility config:

{

“dataSources” : {

“metrics-kafka” : {

“spec” : {

“dataSchema” : {

“dataSource” : “metrics-kafka”,

“metricsSpec” : [

{ “type” : “count”, “name” : “count” }

],

“granularitySpec” : {

“segmentGranularity” : “hour”,

“queryGranularity” : “none”,

“type” : “uniform”

},

“parser” : {

“type” : “string”,

“parseSpec” : {

“format” : “json”,

“timestampSpec” : { “column” : “time”, “format” : “auto” },

“dimensionsSpec” : {

“dimensions” : [ “requestId”, “component”, “msg”, “flowId”, “userId”, “sessionToken”, “level” ]

}

}

}

},

“tuningConfig” : {

“type” : “realtime”,

“windowPeriod” : “PT10M”,

“intermediatePersistPeriod” : “PT10M”,

“maxRowsInMemory” : “100000”

}

},

“properties” : {

“task.partitions” : “1”,

“task.replicants” : “1”,

“topicPattern” : “metrics”

}

}

},

“properties” : {

“zookeeper.connect” : “localhost:2181”,

“druid.discovery.curator.path” : “/druid/discovery”,

“druid.selectors.indexing.serviceName” : “druid/overlord”,

“commit.periodMillis” : “15000”,

“consumer.numThreads” : “2”,

“kafka.zookeeper.connect” : “localhost:2181”,

“kafka.group.id” : “tranquility-kafka”

}

}

Kafka version : kafka_2.11-1.0.0

druid version : druid-0.11.0

tranquility version : tranquility-distribuition-0.8.2

Please tell me if additional things to be added to added in tranquility config.