Skip to content

Commit 8638bf7

Browse files
zhongjiang.mukanata163
zhongjiang.mu
authored andcommitted
[hotfix-394][kb] 解决earliest-offset不生效问题
1 parent 139e323 commit 8638bf7

File tree

1 file changed

+1
-0
lines changed
  • flinkx-kb/flinkx-kb-core/src/main/java/com/dtstack/flinkx/kafkabase/util

1 file changed

+1
-0
lines changed

flinkx-kb/flinkx-kb-core/src/main/java/com/dtstack/flinkx/kafkabase/util/KafkaUtil.java

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public static Properties geneConsumerProp(Map<String, String> consumerSettings,
9595
switch (mode){
9696
case EARLIEST:
9797
props.put("auto.offset.reset", "earliest");
98+
break;
9899
case LATEST:
99100
props.put("auto.offset.reset", "latest");
100101
}

0 commit comments

Comments
 (0)