The conversion SMT has some limitations, so for ease of use lets add a post process that handles json dates and longs / ints and converts them to BsonDateTime.
Created an automatic post processor that will process documents when timeseries.timefield.auto.convert=true.
For Strings yyyy-MM-dd['T'][ ]HH:mm:ss[.][SSSSSS][SSS]['Z'] is the default format used. So supports all of the following formatted strings: "2021-07-13T12:00:00.000001Z", "2021-07-13 12:00:00.000001", "2021-07-13T12:00:00.001Z", "2021-07-13 12:00:00.001", "2021-07-13T12:00:00Z", "2021-07-13 12:00:00"
Failing to convert the field does not error in the processor and the timefield is left as is.
- is related to
-
KAFKA-228 Support configuration / creation of new 5.0 collection type
- Closed