I want to get offsets according to producing time by offsetsForTimes of KafkaConsumer. if current time is 2017/12/19 12:00:00, how to get offsets by time 2017/12/18 12:00:00. I got a problem when using offsetsForTimes, for example, topic:topic_test partition:0, the message produced before 2017/12/18 12:00:00, but I got offsets vaule is null. And any other method.
