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 2021/07/23 12:20:04 UTC

[GitHub] [druid] nikunjratanpara commented on issue #10970: Handling unparsed records in kafka ingestion

nikunjratanpara commented on issue #10970:
URL: https://github.com/apache/druid/issues/10970#issuecomment-885599507


   I have logParseException : true and We know why it is unparsed but ingestion get halted with Tasks failing , It is not skipping that event from kafka. 
   Is there a way I can skip that record and ingest others?
   
   Below is my ingestion spec.
   {
     "type": "kafka",
     "dataSchema": {
       "dataSource": "data-source",
       "parser": {
         "type": "string",
         "parseSpec": {
           "format": "json",
           "timestampSpec": {
             "column": "timestamp",
             "format": "auto"
           },
           "dimensionsSpec": {
             "dimensions": [
               "dimention1",
   			"dimention2",
             ]
           }
         }
       },
       "metricsSpec": [],
       "granularitySpec": {
         "type": "uniform",
         "segmentGranularity": "DAY",
         "queryGranularity": {
           "type": "none"
         },
         "rollup": false
       }
     },
     "tuningConfig": {
       "type": "kafka",
       "logParseExceptions": true,
       "maxSavedParseExceptions": 1
     },
     "ioConfig": {
       "topic": "kafka-topic",
       "consumerProperties": {
         "bootstrap.servers": "kafka:9093",
       }
     }
   }


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org