You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by "justinmclean (via GitHub)" <gi...@apache.org> on 2026/08/02 05:16:32 UTC
[I] Title: Rust SDK quickstart does not compile, and would not run even if it did [iggy-website]
justinmclean opened a new issue, #54:
URL: https://github.com/apache/iggy-website/issues/54
The quick example on `docs/sdk/rust/intro.mdx` calls `IggyMessage::from_str`
without `use std::str::FromStr`. The prelude does not bring the trait in, so it
fails to compile:
error[E0599]: no function or associated item named `from_str` found for
struct `iggy::prelude::IggyMessage` in the current scope
With that fixed it still fails at runtime. It creates the topic with 2
partitions, sends with `Partitioning::balanced()`, then polls `Some(1)`
specifically, so the message can land in a partition the poll never reads.
Partitions are also zero-indexed, so 1 is wrong regardless.
Smaller problems in the same snippet: it connects to `localhost` where the
server listens on IPv4 only by default, it polls `Offset(0)` with autocommit
off so every run returns the same messages, and `create_stream` / `create_topic`
are unconditional so a second run fails.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Title: Rust SDK quickstart does not compile, and would not run even if it did [iggy-website]
Posted by "spetz (via GitHub)" <gi...@apache.org>.
spetz closed issue #54: Title: Rust SDK quickstart does not compile, and would not run even if it did
URL: https://github.com/apache/iggy-website/issues/54
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@iggy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org