Skip to content

Commit

Permalink
Update to iggy 0.5.0 (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMasterK authored Jul 1, 2024
1 parent ad4a4cf commit 9c423f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 35 deletions.
35 changes: 3 additions & 32 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iggy-py"
version = "0.2.2"
version = "0.2.3"
edition = "2021"
authors = ["Dario Lencina Talarico <[email protected]>"]

Expand All @@ -11,7 +11,7 @@ crate-type = ["cdylib"]

[dependencies]
pyo3 = "0.22.0"
iggy = "0.4.3"
iggy = "0.5.0"
tokio = { version = "1", features = ["full"] }
bytes = "1.5"
openssl = { version = "0.10.*", features = ["vendored"] }
3 changes: 2 additions & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use iggy::identifier::Identifier;
use iggy::messages::poll_messages::PollingStrategy;
use iggy::messages::send_messages::{Message as RustMessage, Partitioning};
use iggy::utils::expiry::IggyExpiry;
use iggy::utils::topic_size::MaxTopicSize;
use pyo3::prelude::*;
use pyo3::types::PyList;
use tokio::runtime::{Builder, Runtime};
Expand Down Expand Up @@ -125,7 +126,7 @@ impl IggyClient {
replication_factor,
topic_id,
IggyExpiry::NeverExpire,
None,
MaxTopicSize::ServerDefault,
);
let _create_topic = self
.runtime
Expand Down

0 comments on commit 9c423f3

Please sign in to comment.