Skip to content

Commit

Permalink
Break the relationship betwen writer and subscription (#2330)
Browse files Browse the repository at this point in the history
* Break relationship between writers and subscription (part 1) #2295
* Updated docs and dependencies
* #2329
* #2328
* #2327
  • Loading branch information
marcschier authored Sep 3, 2024
1 parent 22b7d86 commit 7e528da
Show file tree
Hide file tree
Showing 202 changed files with 5,270 additions and 4,267 deletions.
20 changes: 0 additions & 20 deletions .github/WORKFLOWS/push.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ updates:
interval: "daily"
open-pull-requests-limit: 25
# Raise pull requests in worker branch nuget
target-branch: "nuget"
target-branch: "nuget"
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
with:
fetch-depth: 0

- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- '**/*.sln'
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ on:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion common.props
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</PropertyGroup>
<ItemGroup Condition="$(NO_GIT) == ''">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
<PackageReference Include="Nerdbank.GitVersioning" Version="3.6.141" PrivateAssets="All"/>
<PackageReference Include="Nerdbank.GitVersioning" Version="3.6.143" PrivateAssets="All"/>
</ItemGroup>
<PropertyGroup>
<IncludeOpenAPIAnalyzers>true</IncludeOpenAPIAnalyzers>
Expand Down
2 changes: 1 addition & 1 deletion docs/opc-publisher/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ Unpublish all specified nodes or all nodes in the publisher configuration. Furth

|Type|Name|Description|Schema|
|---|---|---|---|
|**Body**|**body** <br>*required*|The request contains the parts of the configuration to remove.|[PublishedNodesEntryModel](definitions.md#publishednodesentrymodel)|
|**Body**|**body** <br>*optional*|The request contains the parts of the configuration to remove.|[PublishedNodesEntryModel](definitions.md#publishednodesentrymodel)|


##### Responses
Expand Down
79 changes: 37 additions & 42 deletions docs/opc-publisher/commandline.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,17 +252,16 @@ Messaging configuration
Default: `false` if the messaging profile
selected supports sending metadata and `--strict`
is set but not '--dct', `True` otherwise.
--amt, --asyncmetadatathreshold, --AsyncMetaDataLoadThreshold=VALUE
The default threshold of monitored items in a
subscription under which meta data is loaded
synchronously during subscription creation.
--amt, --asyncmetadataloadtimeout, --AsyncMetaDataLoadTimeout=VALUE
The default duration in seconds a publish request
should wait until the meta data is loaded.
Loaded metadata guarantees a metadata message is
sent before the first message is sent but
loading of metadata takes time during
subscription setup. Set to `0` to always load
metadata asynchronously.
subscription setup. Set to `0` to block until
metadata is loaded.
Only used if meta data is supported and enabled.
Default: `30`.
Default: `not set` (block forever).
--ps, --publishschemas, --PublishMessageSchema[=VALUE]
Publish the Avro or Json message schemas to schema
registry or subtopics.
Expand Down Expand Up @@ -675,6 +674,8 @@ Subscription settings
`PeriodicLKG`
`WatchdogLKVWithUpdatedTimestamps`
`WatchdogLKVDiagnosticsOnly`
`PeriodicLKVDropValue`
`PeriodicLKGDropValue`
Default: `WatchdogLKV` (Sending LKV in a
watchdog fashion).
--hb, --heartbeatinterval, --DefaultHeartbeatInterval=VALUE
Expand Down Expand Up @@ -706,10 +707,37 @@ Subscription settings
Set to false to disable sequential publishing in
the protocol stack.
Default: `True` (enabled).
--smi, --subscriptionmanagementinterval, --SubscriptionManagementIntervalSeconds=VALUE
The interval in seconds after which the publisher
re-applies the desired state of the subscription
to a session.
Default: `0` (only on configuration change).
--bnr, --badnoderetrydelay, --BadMonitoredItemRetryDelaySeconds=VALUE
The delay in seconds after which nodes that were
rejected by the server while added or updating a
subscription or while publishing, are re-applied
to a subscription.
Set to 0 to disable retrying.
Default: `1800` seconds.
--inr, --invalidnoderetrydelay, --InvalidMonitoredItemRetryDelaySeconds=VALUE
The delay in seconds after which the publisher
attempts to re-apply nodes that were incorrectly
configured to a subscription.
Set to 0 to disable retrying.
Default: `300` seconds.
--ser, --subscriptionerrorretrydelay, --SubscriptionErrorRetryDelaySeconds=VALUE
The delay in seconds between attempts to create a
subscription in a session.
Set to 0 to disable retrying.
Default: `2` seconds.
--urc, --usereverseconnect, --DefaultUseReverseConnect[=VALUE]
(Experimental) Use reverse connect for all
endpoints that are part of the subscription
configuration unless otherwise configured.
endpoints in the published nodes configuration
unless otherwise configured.
Default: `false`.
--dtr, --disabletransferonreconnect, --DisableSubscriptionTransfer[=VALUE]
Do not attempt to transfer subscriptions when
reconnecting but re-establish the subscription.
Default: `false`.
--dct, --disablecomplextypesystem, --DisableComplexTypeSystem[=VALUE]
Never load the complex type system for any
Expand All @@ -718,21 +746,11 @@ Subscription settings
messages but also prevents transcoding of
unknown complex types in outgoing messages.
Default: `false`.
--dtr, --disabletransferonreconnect, --DisableSubscriptionTransfer[=VALUE]
Do not attempt to transfer subscriptions when
reconnecting but re-establish the subscription.
Default: `false`.
--dsg, --disablesessionpergroup, --DisableSessionPerWriterGroup[=VALUE]
Disable creating a separate session per writer
group. Instead sessions are re-used across
writer groups.
Default: `False`.
--spw, --enablesessionperwriter, --EnableSessionPerSubscription[=VALUE]
Enable creating a separate session per data set
writer instead of the default behavior to create
one per writer group.
This setting overrides the `--dsg` option.
Default: `False`.
--ipi, --ignorepublishingintervals, --IgnoreConfiguredPublishingIntervals[=VALUE]
Always use the publishing interval provided via
command line argument `--op` and ignore all
Expand Down Expand Up @@ -841,29 +859,6 @@ OPC UA Client configuration
Maximum number of publish requests to every queue
once subscriptions are created in the session.
Default: `10`.
--smi, --subscriptionmanagementinterval, --SubscriptionManagementIntervalSeconds=VALUE
The interval in seconds after which the publisher
re-applies the desired state of the subscription
to a session.
Default: `0` (only on configuration change).
--bnr, --badnoderetrydelay, --BadMonitoredItemRetryDelaySeconds=VALUE
The delay in seconds after which nodes that were
rejected by the server while added or updating a
subscription or while publishing, are re-applied
to a subscription.
Set to 0 to disable retrying.
Default: `1800` seconds.
--inr, --invalidnoderetrydelay, --InvalidMonitoredItemRetryDelaySeconds=VALUE
The delay in seconds after which the publisher
attempts to re-apply nodes that were incorrectly
configured to a subscription.
Set to 0 to disable retrying.
Default: `300` seconds.
--ser, --subscriptionerrorretrydelay, --SubscriptionErrorRetryDelaySeconds=VALUE
The delay in seconds between attempts to create a
subscription in a session.
Set to 0 to disable retrying.
Default: `2` seconds.
--dcp, --disablecomplextypepreloading, --DisableComplexTypePreloading[=VALUE]
Complex types (structures, enumerations) a server
exposes are preloaded from the server after the
Expand Down
Loading

0 comments on commit 7e528da

Please sign in to comment.