C# examples: add a multi-tenant producer and consumer
メンテナーはふだん 1 日以内に返信
@rokadepiyush49-rgb がすでに取り組んでいます。
2026年11月6日 から。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
Copy the layout of the MessageEnvelope producer and consumer under examples/csharp/src, and read examples/rust/src/multi-tenant/ for the intended flow. Check how IIggyUsers.CreateUserAsync and the Permissions and StreamPermissions types in foreign/csharp/Iggy_SDK/Contracts/ restrict a user to one stream. Done means dotnet build of examples/csharp/Iggy_SDK.Examples.sln succeeds with both new projects, and both run against a fresh server, with the producer showing a cross-tenant send is refused.
索引モデルが issue の本文から書いたものです。
説明
Description
The C# examples have Basic, GettingStarted, MessageEnvelope, MessageHeaders, NewSdk and TcpTls, but no multi-tenant example. Rust, Java and Node have one: each tenant gets its own stream and its own user, limited to that stream, and the example shows that a tenant cannot reach another tenant's stream.
Affected area / component
C# examples
Proposed solution
Add examples/csharp/src/MultiTenant/Iggy_SDK.Examples.MultiTenant.Producer/ and .../Iggy_SDK.Examples.MultiTenant.Consumer/, add both to examples/csharp/Iggy_SDK.Examples.sln, and add a README section in examples/csharp/README.md.
- Copy the project layout (
.csproj,Program.cs,Utils.cs) from the MessageEnvelope pair, and use the helpers inexamples/csharp/src/Iggy_SDK.Examples.Shared. - The SDK has
CreateUserAsync(userName, password, status, permissions)inIIggyUsers, and thePermissionsandStreamPermissionstypes inforeign/csharp/Iggy_SDK/Contracts/. - Follow the flow of
examples/rust/src/multi-tenant/: the producer creates N tenants (default 3) with a stream and a restricted user each, sends as each tenant and prints that another tenant's stream is refused. The consumer reads a tenant's stream as that tenant.
How to test: dotnet build examples/csharp/Iggy_SDK.Examples.sln builds both projects. Start a fresh server and run both with the dotnet run --project lines added to the README.
Good first issue
- I think this could be a good first issue for a new contributor
- 主要言語
- Rust
- スター
- 5.2k
- フォーク
- 502
- 平均マージ
- 2日 21時間
- マージ済み PR(30日)
- 159
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/iggy のほかの issue
-
Go examples: add a message envelope producer and consumer対応中かも @ThunderGod77 が 4 日前に担当しました。 オープンgo good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
apache/iggy#4694 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
HTTP client treats a consumer group as a plain consumer対応中かも @mohitduhan19 が 22 日前に担当しました。 オープンbug rust server
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
Add the fail-fast connection option to the Rust and Python quick-starts対応中かも @QIW9 が 10 日前に担当しました。 オープンdocs good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
ResourceNotFound from the binary protocol prints an empty key対応中かも @xalestar が 1 日前に担当しました。 オープンapi python rust
apache/iggy#4767 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Node SDK: send accepts malformed user headers that fail during polling対応中かも @Subham-KRLX が 2 日前に担当しました。 オープンbug good first issue javascript
apache/iggy#4750 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
An EXE started from the shell with MAXALLOC FFFFh leaves a 0-paragraph free block after its ownオープンbug low-priority
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
dividebysandwich/rust-dos#629 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
eliasstravik/herdr-projects#758 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement needs:sonnet ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信