yanghua commented on a change in pull request #2090:
URL: https://github.com/apache/hudi/pull/2090#discussion_r488538950



##########
File path: 
hudi-utilities/src/main/java/org/apache/hudi/utilities/sources/helpers/KafkaOffsetGen.java
##########
@@ -172,6 +172,9 @@ public KafkaOffsetGen(TypedProperties props) {
     Map<TopicPartition, Long> fromOffsets;
     Map<TopicPartition, Long> toOffsets;
     try (KafkaConsumer consumer = new KafkaConsumer(kafkaParams)) {
+      if (!checkTopicExists(consumer)) {
+        throw new HoodieException("topic does not exist :" + topicName);

Review comment:
       -> `Kafka topic : xxx does not exist.`




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to