GitHub user vahidhashemian opened a pull request:
https://github.com/apache/kafka/pull/3460
KAFKA-5534: `offsetForTimes` result should include partitions with no offset
For topics that support timestamp search, if no offset is found for a
partition, the partition should still be included in the result with a `null`
offset value. This `KafkaConsumer` method currently excludes such partitions
from the result.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vahidhashemian/kafka KAFKA-5534
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/3460.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3460
----
commit 504b42c7acf6278de8ab19b4b78fea95e898a084
Author: Vahid Hashemian <[email protected]>
Date: 2017-06-29T22:12:45Z
KAFKA-5534: `offsetForTimes` result should include partitions with no
offsets
For topics that support timestamp search, if no offset is found for a
partition, the partition should still be included in the result with a `null`
offset value.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---