coolboi567 opened a new issue #7039: Kafka Ingestion Spec to allow kafka topic 
with gzip compression
URL: https://github.com/apache/incubator-druid/issues/7039
 
 
   I have the following configuration in my ingestion script after following up 
with [this 
link](http://druid.io/docs/latest/development/extensions-core/kafka-ingestion.html).
   ```json
   "tuningConfig": {
       "type": "kafka",
       "forceExtendableShardSpecs": true,
       "maxParseExceptions": 100,
       "maxSavedParseExceptions": 10,
       "indexSpec":{
         "dimensionCompression": "gzip",
         "metricCompression": "gzip"
       }
     }
   ```
   While ingesting it says the following error, which make me realise that 
either gzip compression wasn't supported, or I was doing something wrong.
   > {"error":"Can not construct instance of 
org.apache.druid.segment.data.CompressionStrategy, problem: No enum constant 
org.apache.druid.segment.data.CompressionStrategy.GZIP\n at [Source: 
HttpInputOverHTTP@5922d029[c=2248,q=0,[0]=null,s=STREAM]; line: 1, column: 
2176] (through reference chain: 
org.apache.druid.indexing.kafka.supervisor.KafkaSupervisorSpec[\"tuningConfig\"]->org.apache.druid.indexing.kafka.supervisor.KafkaSupervisorTuningConfig[\"indexSpec\"]->org.apache.druid.segment.IndexSpec[\"dimensionCompression\"])"
 }

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to