Krishna
09/06/2024, 11:35 PMnumPersistThreads as it will help during peak times but when i tried to update supervisor spec with this and submit it. After that when i tried to check the payload i am not seeing this parameter . any one faced similar issueJohn Kowtko
09/08/2024, 1:50 PM"intermediateHandoffPeriod": "P2147483647D",
"logParseExceptions": true,
"maxParseExceptions": 2147483647,
"maxSavedParseExceptions": 0,
"numPersistThreads": 1,
"skipSequenceNumberAvailabilityCheck": false,
"repartitionTransitionDuration": "PT120S"
}
and in the ingestion task log:
... Running with task: {
...
"segmentWriteOutMediumFactory" : null,
"intermediateHandoffPeriod" : "P2147483647D",
"logParseExceptions" : true,
"maxParseExceptions" : 2147483647,
"maxSavedParseExceptions" : 0,
"numPersistThreads" : 1,
"skipSequenceNumberAvailabilityCheck" : false
},Krishna
09/08/2024, 3:02 PMKrishna
09/08/2024, 3:04 PM"tuningConfig": {
"type": "kafka",
"appendableIndexSpec": {
"type": "onheap",
"preserveExistingMetrics": false
},
"maxRowsInMemory": 200000,
"maxBytesInMemory": 0,
"skipBytesInMemoryOverheadCheck": false,
"maxRowsPerSegment": 5000000,
"maxTotalRows": null,
"numPersistThreads": 4,
"intermediatePersistPeriod": "PT5M",
"maxPendingPersists": 0,
"indexSpec": {
"bitmap": {
"type": "roaring"
},
"dimensionCompression": "lz4",
"stringDictionaryEncoding": {
"type": "utf8"
},
"metricCompression": "lz4",
"longEncoding": "longs"
},John Kowtko
09/09/2024, 3:45 PM2024-09-09T15:44:04,730 INFO [main] com.sun.jersey.server.impl.application.WebApplicationImpl - Initiating Jersey application, version 'Jersey: 1.19.4 05/24/2017 03:20 PM'
2024-09-09T15:44:04,730 INFO [task-runner-0-priority-0] org.apache.druid.curator.discovery.CuratorDruidNodeAnnouncer - Announced self [{"druidNode":{"service":"druid/middlemanager","host":"localhost","bindOnHost":false,"plaintextPort":8101,"port":-1,"tlsPort":-1,"enablePlaintextPort":true,"enableTlsPort":false},"nodeType":"peon","services":{"dataNodeService":{"type":"dataNodeService","tier":"_default_tier","maxSize":0,"type":"indexer-executor","serverType":"indexer-executor","priority":0},"lookupNodeService":{"type":"lookupNodeService","lookupTier":"__default"}},"startTime":"2024-09-09T15:44:04.621Z"}].
2024-09-09T15:44:04,741 INFO [task-runner-0-priority-0] org.apache.druid.segment.realtime.appenderator.StreamAppenderator - Number of persist threads [2]
2024-09-09T15:44:04,814 INFO [task-runner-0-priority-0] org.apache.druid.indexing.seekablestream.SeekableStreamIndexTaskRunner - Initialized sequences: SequenceMetadata{sequenceId=0, sequenceName='index_kafka_quickstart-events_265296a781a96d3_0', assignments=[KafkaTopicPartition{partition=1, topic='null', multiTopicPartition=false}, KafkaTopicPartition{partition=0,Krishna
09/09/2024, 4:17 PMKrishna
09/09/2024, 6:09 PMorg.apache.druid.segment.realtime.appenderator.StreamAppenderator - Number of persist threads this below is my supervisor spec
{
"type": "kafka",
"spec": {
"dataSchema": {
"dataSource": "kafka_test",
"timestampSpec": {
"column": "event_time_ms",
"format": "auto",
"missingValue": null
},
"dimensionsSpec": {
"dimensions": [
{
......
}
],
"dimensionExclusions": [
......
],
"includeAllDimensions": false,
"useSchemaDiscovery": false
},
"metricsSpec": [
.....
],
"granularitySpec": {
"type": "uniform",
"segmentGranularity": "HOUR",
"queryGranularity": "FIVE_MINUTE",
"rollup": true,
"intervals": []
},
"transformSpec": {
"filter": null,
"transforms": []
}
},
"ioConfig": {
"topic": "TOPIC",
"topicPattern": null,
"inputFormat": {
"type": "avro_ocf",
"flattenSpec": {
"useFieldDiscovery": true,
"fields": []
}
},
"replicas": 1,
"taskCount": 16,
"taskDuration": "PT10800S",
"consumerProperties": {
"bootstrap.servers": "<MSK>",
"max.partition.fetch.bytes": 1048576,
"security.protocol": "SASL_SSL",
"sasl.mechanism": "AWS_MSK_IAM",
"sasl.jaas.config": "software.amazon.msk.auth.iam.IAMLoginModule required;",
"sasl.client.callback.handler.class": "software.amazon.msk.auth.iam.IAMClientCallbackHandler"
},
"autoScalerConfig": null,
"pollTimeout": 100,
"startDelay": "PT5S",
"period": "PT30S",
"useEarliestOffset": false,
"completionTimeout": "PT3600S",
"lateMessageRejectionPeriod": "PT1800S",
"earlyMessageRejectionPeriod": null,
"lateMessageRejectionStartDateTime": null,
"configOverrides": null,
"idleConfig": null,
"stopTaskCount": 16,
"stream": "topic",
"useEarliestSequenceNumber": false
},
"tuningConfig": {
"type": "kafka",
"appendableIndexSpec": {
"type": "onheap",
"preserveExistingMetrics": false
},
"maxRowsInMemory": 200000,
"maxBytesInMemory": 0,
"skipBytesInMemoryOverheadCheck": false,
"maxRowsPerSegment": 5000000,
"maxTotalRows": null,
"numPersistThreads": 4,
"intermediatePersistPeriod": "PT5M",
"maxPendingPersists": 0,
"indexSpec": {
"bitmap": {
"type": "roaring"
},
"dimensionCompression": "lz4",
"stringDictionaryEncoding": {
"type": "utf8"
},
"metricCompression": "lz4",
"longEncoding": "longs"
},
"indexSpecForIntermediatePersists": {
"bitmap": {
"type": "roaring"
},
"dimensionCompression": "lz4",
"stringDictionaryEncoding": {
"type": "utf8"
},
"metricCompression": "lz4",
"longEncoding": "longs"
},
"reportParseExceptions": true,
"handoffConditionTimeout": 600000,
"resetOffsetAutomatically": true,
"segmentWriteOutMediumFactory": null,
"workerThreads": null,
"chatRetries": 8,
"httpTimeout": "PT10S",
"shutdownTimeout": "PT80S",
"offsetFetchPeriod": "PT30S",
"intermediateHandoffPeriod": "P2147483647D",
"logParseExceptions": false,
"maxParseExceptions": 0,
"maxSavedParseExceptions": 0,
"skipSequenceNumberAvailabilityCheck": false,
"repartitionTransitionDuration": "PT120S"
}
},
"context": null,
"suspended": false
}Krishna
09/09/2024, 6:09 PMJohn Kowtko
09/09/2024, 6:23 PMJohn Kowtko
09/09/2024, 6:25 PMKrishna
09/09/2024, 6:55 PMJohn Kowtko
09/09/2024, 8:11 PMKrishna
09/09/2024, 8:15 PMJohn Kowtko
09/09/2024, 11:31 PMKrishna
09/09/2024, 11:39 PM