Kafka ingestion cannot set arbitrary segmentGranularity

Hi all:
I’m using druid-0.16.1 and i intend to set kafka ingestion segmentGranularity to 8h:

   "granularitySpec": {

``
“type”: “uniform”,

“segmentGranularity”: {“type”: “period”, “period”: “PT8H”},

“queryGranularity”: “NONE”

}

however, druid seems to change 8h to 6h

what’s more, i test batch ingestion with same segmentGranularity as above and succeed

What’s the difference between kafka ingestion and batch ingestion at the time handling segmentGranularity?

And how to set arbitrary kafka ingestion segmentGranularity?

在 2020年5月21日星期四 UTC+8下午3:07:47,Chong Luo写道: