You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/01/31 11:33:16 UTC
[GitHub] mihai-cazacu-adswizz edited a comment on issue #6945: The
materialized view is not created for a data source produced by Kafka
Indexing Service
mihai-cazacu-adswizz edited a comment on issue #6945: The materialized view is not created for a data source produced by Kafka Indexing Service
URL: https://github.com/apache/incubator-druid/issues/6945#issuecomment-459305256
Sure, here it is:
```
{
"type": "kafka",
"dataSchema": {
"dataSource": "the-kafka-data-source",
"parser": {
"type": "string",
"parseSpec": {
"format": "json",
"timestampSpec": {
"column": "timestamp",
"format": "auto"
},
"dimensionsSpec": {
"dimensions": [],
"dimensionExclusions": [
"dimX",
"dimY",
"dimZ"
],
"spatialDimensions": []
}
}
},
"metricsSpec": [
{
"type": "longSum",
"name": "metricASum",
"fieldName": "metricA",
"expression": null
},
{
"type": "longSum",
"name": "metricBSum",
"fieldName": "metricB",
"expression": null
}
],
"granularitySpec": {
"type": "uniform",
"segmentGranularity": "HOUR",
"queryGranularity": "HOUR",
"rollup": true,
"intervals": null
},
"transformSpec": {
"filter": null,
"transforms": []
}
},
"tuningConfig": {
"type": "kafka",
"maxRowsInMemory": 40000,
"maxRowsPerSegment": 5000000,
"intermediatePersistPeriod": "PT10M",
"basePersistDirectory": "/mnt/druid/tmp/1548256077843-0",
"maxPendingPersists": 0,
"indexSpec": {
"bitmap": {
"type": "concise"
},
"dimensionCompression": "lz4",
"metricCompression": "lz4",
"longEncoding": "longs"
},
"buildV9Directly": true,
"reportParseExceptions": false,
"handoffConditionTimeout": 0,
"resetOffsetAutomatically": true,
"segmentWriteOutMediumFactory": null,
"workerThreads": null,
"chatThreads": null,
"chatRetries": 20,
"httpTimeout": "PT60S",
"shutdownTimeout": "PT180S",
"offsetFetchPeriod": "PT30S"
},
"ioConfig": {
"topic": "the-kafka-data-source",
"replicas": 1,
"taskCount": 4,
"taskDuration": "PT60S",
"consumerProperties": {
"bootstrap.servers": "kafka-broker.some-host.com:9092",
"group.id": "IngestionDruid",
"auto.offset.reset": "latest",
"max.partition.fetch.bytes": "4000000"
},
"startDelay": "PT1S",
"period": "PT30S",
"useEarliestOffset": false,
"completionTimeout": "PT1800S",
"lateMessageRejectionPeriod": null,
"earlyMessageRejectionPeriod": null,
"skipOffsetGaps": false
},
"context": null
}
```
Thank you!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org