C# examples: add a multi-tenant producer and consumer
I maintainer di solito rispondono entro 1 giorno
@huong8373tt-beep ci sta già lavorando.
Dal 2/11/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 72/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- authorization, developer-experience
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Rust
- Stelle
- 5.2k
- Fork
- 502
- Merge medio
- 3g 8h
- PR unite (30g)
- 146
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/iggy
-
Go examples: add a message envelope producer and consumerForse già presa @ThunderGod77 l’ha presa 1 giorno fa. Apertago good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
apache/iggy#4694 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
HTTP client treats a consumer group as a plain consumerForse già presa @mohitduhan19 l’ha presa 19 giorni fa. Apertabug rust server
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
apache/iggy#4408 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Add the fail-fast connection option to the Rust and Python quick-startsForse già presa @QIW9 l’ha presa 6 giorni fa. Apertadocs good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
apache/iggy#4261 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug python sdk
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
apache/iggy#3748 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
perf(cluster): reduce idle replica traffic caused by Commit heartbeatsForse già presa @mmmmxa l’ha presa 1 giorno fa. Apertaapi cluster performance
apache/iggy#4707 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
docs(metrics): replace stale src/metrics.rs line anchors in dashboard-metrics.md with symbol namesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
ci-cd desktop size:low telemetry-improvement telemetry-round-1
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
vfarcic/dot-agent-deck#2079 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement user-priority/P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 2 giorni