Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chien <[email protected]>
  • Loading branch information
stdrc committed Apr 24, 2024
1 parent 491b05a commit 430db2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/connector/src/source/kafka/enumerator/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ impl KafkaSplitEnumerator {
Offset::Offset(offset) => {
result.insert(elem.partition(), Some(offset));
}
Offset::End => {
_ => {
let (_, high_watermark) = self
.client
.fetch_watermarks(
Expand All @@ -330,7 +330,6 @@ impl KafkaSplitEnumerator {
.await?;
result.insert(elem.partition(), Some(high_watermark));
}
_ => unreachable!(),
}
}

Expand Down

0 comments on commit 430db2c

Please sign in to comment.