Bielu.AspNetCore.AsyncApi.Scalar.Broker.Kafka
1.4.0
Prefix Reserved
See the version list below for details.
dotnet add package Bielu.AspNetCore.AsyncApi.Scalar.Broker.Kafka --version 1.4.0
NuGet\Install-Package Bielu.AspNetCore.AsyncApi.Scalar.Broker.Kafka -Version 1.4.0
<PackageReference Include="Bielu.AspNetCore.AsyncApi.Scalar.Broker.Kafka" Version="1.4.0" />
<PackageVersion Include="Bielu.AspNetCore.AsyncApi.Scalar.Broker.Kafka" Version="1.4.0" />
<PackageReference Include="Bielu.AspNetCore.AsyncApi.Scalar.Broker.Kafka" />
paket add Bielu.AspNetCore.AsyncApi.Scalar.Broker.Kafka --version 1.4.0
#r "nuget: Bielu.AspNetCore.AsyncApi.Scalar.Broker.Kafka, 1.4.0"
#:package Bielu.AspNetCore.AsyncApi.Scalar.Broker.Kafka@1.4.0
#addin nuget:?package=Bielu.AspNetCore.AsyncApi.Scalar.Broker.Kafka&version=1.4.0
#tool nuget:?package=Bielu.AspNetCore.AsyncApi.Scalar.Broker.Kafka&version=1.4.0
Bielu.AspNetCore.AsyncApi.Scalar.Broker.Kafka
The Kafka driver for the interactive Scalar broker console. Lets the console publish to and tail
the Kafka topics your kafka AsyncAPI bindings describe.
Install it alongside the console package, which owns the bridge and the endpoints:
dotnet add package Bielu.AspNetCore.AsyncApi.Scalar.Broker
dotnet add package Bielu.AspNetCore.AsyncApi.Scalar.Broker.Kafka
Usage
builder.Services.AddScalarBrokerBridge(options =>
{
options.AddKafkaConnection("orders", "localhost:9092");
options.AddKafkaConnection("secure", "broker:9093", kafka =>
{
kafka.ConfigureProducer = config =>
{
config.SecurityProtocol = SecurityProtocol.SaslSsl;
config.SaslMechanism = SaslMechanism.ScramSha512;
config.SaslUsername = "console";
config.SaslPassword = builder.Configuration["Kafka:Password"];
};
});
});
app.MapScalarBrokerAssets().RequireAuthorization("BrokerConsole");
See the Bielu.AspNetCore.AsyncApi.Scalar.Broker
package for how to wire the console into Scalar and, importantly, how to secure the bridge — it
can publish to your cluster.
Behaviour worth knowing
Tailing has no side effects on your cluster. Each tail builds a consumer with a throwaway group
id (bielu-scalar-broker-{guid}), starts at AutoOffsetReset.Latest, and never commits. Opening a
console therefore cannot move a real consumer group's committed offsets, and cannot replay a backlog
into someone's browser. ConfigureConsumer can override these, but setting a fixed GroupId or
re-enabling auto-commit gives that guarantee up.
Connections are lazy. The producer is built on the first publish, so a cluster that is unreachable at startup does not stop your application from starting — the console reports the error instead.
Credentials never reach the browser. The console is told a connection's name, protocol and a
display endpoint only, and any user:password@ in bootstrapServers is redacted out of it.
Non-UTF-8 message headers are shown as <n bytes> rather than decoded into mojibake.
Documentation
Full documentation: https://apidescriptions.bielu.pl/
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Bielu.AspNetCore.AsyncApi.Scalar.Broker (>= 1.4.0)
- Confluent.Kafka (>= 2.14.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0-beta.20261024191358 | 0 | 10/24/2026 |
| 2.0.0-beta.20261024185247 | 0 | 10/24/2026 |
| 2.0.0-beta.20261024184446 | 0 | 10/24/2026 |
| 2.0.0-beta.20261024163851 | 0 | 10/24/2026 |
| 2.0.0-beta.20261024153849 | 0 | 10/24/2026 |
| 2.0.0-beta.20261024142609 | 0 | 10/24/2026 |
| 2.0.0-beta.20261024142554 | 0 | 10/24/2026 |
| 2.0.0-beta.20261024140532 | 0 | 10/24/2026 |
| 2.0.0-beta.20261024135507 | 0 | 10/24/2026 |
| 2.0.0-beta.20261024133330 | 0 | 10/24/2026 |
| 2.0.0-beta.20261024132617 | 0 | 10/24/2026 |
| 1.4.1-beta.20261018142232 | 44 | 10/18/2026 |
| 1.4.1-beta.20261018142111 | 47 | 10/18/2026 |
| 1.4.0 | 77 | 10/17/2026 |
| 1.4.0-beta.20261017205523 | 44 | 10/17/2026 |
| 1.4.0-beta.20261017202629 | 59 | 10/17/2026 |