In fact it may be available else where too ( for example ProcessFunction etc ) but do we have no need to create one, it is just a data relay ( kafka to hdfs ) and any intermediate processing should be avoided if possible IMHO.On Tue, Jul 31, 2018 at 9:10 AM, Vishal Santoshi <vishal.santoshi@xxxxxxxxx> wrote:We have a use case where multiple topics are streamed to hdfsand we would want to created buckets based on ingestion time ( the time the event were pushed to kafka ). Our producers to kafka will set that the event timesuggests that the the "previousElementTimeStamp" will provide that timestamp provided "EventTime" characteristic is set. It also provides for the element. In out case the element will expose setIngestionTIme(long time) method. Is the element in this methodpublic long extractTimestamp(Long element, long previousElementTimestamp)
passed by reference and can it be safely ( loss lessly ) mutated for downstream operators ?That said there is another place where that record time stamp is available.Is it possible to change the signature of theto add record timestamp as the last argument ?Regards,Vishal