1
0

[MINOR] Fix HoodieNotSupportedException description in KafkaOffsetGen (#1615)

This commit is contained in:
liujinhui
2020-05-11 23:14:43 +08:00
committed by GitHub
parent 6dac10115c
commit 5d37e66b7e

View File

@@ -193,7 +193,7 @@ public class KafkaOffsetGen {
fromOffsets = consumer.endOffsets(topicPartitions);
break;
default:
throw new HoodieNotSupportedException("Auto reset value must be one of 'smallest' or 'largest' ");
throw new HoodieNotSupportedException("Auto reset value must be one of 'earliest' or 'latest' ");
}
}