Default timestamp value for druid ingestion .

Hi ,

I do not want to input timestamp value using timestampSpec , basically all I need is, Druid should use timestamp for the ingestion time , this is for our unit test cases .

Where I do not want input data to be time dependent .I am reading data from Json File ,which I do not want to alter every time I insert data into Druid .

What are my options here if I do not define these fields in spec file ? “timestampSpec”: {

“column”: “timestamp”,

“format”: “auto”

},

Thank You .

Hey Rajesh,

There is not currently a feature to use the ‘current time’ for the timestampSpec. So right now you either could use “missingValue” on the timestampSpec to use a specific time, or you could add a timestamp to all your messages before sending them to Druid.