Skip to content

Commit

Permalink
align the semantics of scan.startup.mode=latest of nats with others
Browse files Browse the repository at this point in the history
  • Loading branch information
stdrc committed Sep 27, 2024
1 parent 83fe9f3 commit 068e65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connector/src/connector_common/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ impl NatsCommon {

let deliver_policy = match start_sequence {
NatsOffset::Earliest => DeliverPolicy::All,
NatsOffset::Latest => DeliverPolicy::Last,
NatsOffset::Latest => DeliverPolicy::New,
NatsOffset::SequenceNumber(v) => {
let parsed = v
.parse::<u64>()
Expand Down

0 comments on commit 068e65d

Please sign in to comment.