Antiphon.Messaging.Gateway
1.0.0
dotnet add package Antiphon.Messaging.Gateway --version 1.0.0
NuGet\Install-Package Antiphon.Messaging.Gateway -Version 1.0.0
<PackageReference Include="Antiphon.Messaging.Gateway" Version="1.0.0" />
<PackageVersion Include="Antiphon.Messaging.Gateway" Version="1.0.0" />
<PackageReference Include="Antiphon.Messaging.Gateway" />
paket add Antiphon.Messaging.Gateway --version 1.0.0
#r "nuget: Antiphon.Messaging.Gateway, 1.0.0"
#:package Antiphon.Messaging.Gateway@1.0.0
#addin nuget:?package=Antiphon.Messaging.Gateway&version=1.0.0
#tool nuget:?package=Antiphon.Messaging.Gateway&version=1.0.0
Antiphon.Messaging.Gateway
Gateway-side Kafka host for the Antiphon messaging bus: produce ChannelMessage to
channels.inbound, consume ChannelReply from channels.outbound, and dispatch each
reply to the matching IChannelAdapter.
services.AddSingleton<IChannelAdapter>(new MyAdapter());
services.AddAntiphonGateway(configuration, "Kafka"); // or AntiphonGateway
ConsumerGroup must be unique per gateway process. TopicLayout.PerProvider is a
documented follow-up and throws NotSupportedException. Tests can use
Antiphon.Messaging.Gateway.Testing.InMemoryGatewayBus in this same package.
Worked example: samples/EchoGateway. Getting
started: docs/messaging/build-your-own-gateway.md.
Versioning and compatibility
Packages in the Antiphon.Messaging* family version lock-step (one <Version> in
Messaging.Pack.props). Mixing versions within a major is supported; a major bump is one edit.
- Wire contract is additive-only within a major. New optional properties and new enum
members are minor. Removing or renaming a property, changing a type, making an optional
field required, changing a topic name or key, or changing the meaning of
Channel/Conversation.Id/ChannelMessageId/ReplyHandleis major — and a major ships on new topic names. requiredis part of the contract. Adding arequiredmember is major.- .NET API surface is pinned with
Microsoft.CodeAnalysis.PublicApiAnalyzers(PublicAPI.Shipped.txt). An unreviewed public-surface change fails the build. - Deprecation:
[Obsolete]for at least one minor before removal in the next major. Obsolete in this release:Antiphon.Messaging.Client.MessagingJson(useAntiphon.Messaging.MessagingJson). - TFM:
net9.0now; addnet10.0when the repo moves; drop a TFM only on a major. - Dependencies:
Confluent.Kafkafloats within its major ([2.6.0,3.0.0)). - Enum tolerance: unknown enum names on the wire map to a declared sentinel
(
AttachmentKind.Other,ChannelReplyKind.Answer,ConversationKind.Group) instead of dropping the message.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net9.0
- Antiphon.Messaging (>= 1.0.0)
- Confluent.Kafka (>= 2.6.0 && < 3.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.19)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.19)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.19)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.19)
- Microsoft.Extensions.Options (>= 9.0.19)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.19)
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 |
|---|---|---|
| 1.0.0 | 105 | 8/23/2026 |