Skip to content

Commit

Permalink
Tidying up
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Kudinkin committed Aug 15, 2022
1 parent 9458b70 commit 2dae584
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public OffsetRange[] getNextOffsetRanges(Option<String> lastCheckpointStr, long
numEvents = sourceLimit;
}

// TODO remove
// TODO(HUDI-4625) remove
if (numEvents < toOffsets.size()) {
throw new HoodieException("sourceLimit should not be less than the number of kafka partitions");
}
Expand All @@ -312,7 +312,7 @@ private List<PartitionInfo> fetchPartitionInfos(KafkaConsumer consumer, String t

List<PartitionInfo> partitionInfos;
do {
// TODO cleanup, introduce retrying client
// TODO(HUDI-4625) cleanup, introduce retrying client
partitionInfos = consumer.partitionsFor(topicName);
try {
TimeUnit.SECONDS.sleep(10);
Expand Down

0 comments on commit 2dae584

Please sign in to comment.