Skip to content

Commit

Permalink
Merge pull request #230 from taosdata/fix/sunpeng/update-taos-version
Browse files Browse the repository at this point in the history
fix: update cargo version
  • Loading branch information
zitsen authored Oct 1, 2023
2 parents aa5522a + c549a98 commit dab5b89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion taos-ws-py/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ anyhow = "1"
log = "0.4"
serde_json = "1"
shadow-rs = "0.20.0"
taos = { version = "0.8.12", default-features = false, features = ["optin", "ws-rustls"] }
taos = { version = "0.10.15", default-features = false, features = ["optin", "ws-rustls"] }
chrono = "0.4"

[build-dependencies]
Expand Down
2 changes: 2 additions & 0 deletions taos-ws-py/src/consumer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ impl Consumer {
))?;
}

builder.set("enable.auto.commit", "true");
builder.set("experimental.snapshot.enable", "false");
const KEYS: &[&str] = &[
"client.id",
"auto.offset.reset",
Expand Down

0 comments on commit dab5b89

Please sign in to comment.