Skip to main content
net10.0.NETFramework4.7.2.NETFramework4.8net8.0net9.0.NETStandard2.1

OPC UA PubSub Apache Kafka transport (Part 14 Annex B.2) class library.

Published
Jan 1, 1900
128y ago
Total Downloads
0
0

Install

dotnet add package OPCFoundation.NetStandard.Opc.Ua.PubSub.Kafka.Debug --version 2.0.0-preview.2
ProductVersions
.NET
net10.0net8.0net9.0
.NET Standard
netstandard2.1
Other
.NETFramework4.7.2.NETFramework4.8

README

OPC UA .NET Standard — PubSub Apache Kafka transport

OPCFoundation.NetStandard.Opc.Ua.PubSub.Kafka provides the Apache Kafka broker transport (OPC UA Part 14 Annex B.2, with SASL/TLS security, configurable delivery guarantees, and both the UADP and JSON message mappings) for the modern OPCFoundation.NetStandard.Opc.Ua.PubSub stack. Kafka consumer groups and idempotent producers back the high-availability publisher/subscriber deployments.

Getting started

Register the transport on the PubSub builder:

using Microsoft.Extensions.DependencyInjection;

builder.Services.AddOpcUa()
    .AddPubSub(pubsub => pubsub
        .AddSubscriber()
        .AddKafkaTransport());

Connection addresses use kafka://host:9092 (plain/SASL) or kafkas://host:9093 (TLS).

Target frameworks

net472, net48, netstandard2.1, net8.0, net9.0, net10.0.

NativeAOT

The transport defaults to the pure-managed Dekaf client on every supported target framework. This repository asserts and validates NativeAOT / trimming compatibility on net10.0 for that default backend.

JIT-compiled hosts can opt into Confluent.Kafka:

pubsub.AddKafkaTransport()
    .WithConfluentKafkaClient();

The Confluent backend uses native librdkafka and is not NativeAOT or trimming compatible.

The other PubSub transports (UDP, Ethernet, MQTT) remain AOT-compatible on all frameworks.

Additional documentation

See the Apache Kafka transport documentation in the PubSub documentation for transports, encodings, security, high availability, and the fluent / DI API.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 6 target frameworks; confirm the exact target used by your application.The published metadata declares 163 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.