Skip to content

Commit de878a1

Browse files
Add the upgrade guide for ServicePlatform Connector Version 3 to 4 (#7798)
* Add the upgrade guide for ServicePlatform Connector Version 3 to 4 * Add snippets to the migration guide * Wording improvements * A empty line * Editorial tweaks * Add summary --------- Co-authored-by: Brandon Ording <[email protected]>
1 parent 00ddab5 commit de878a1

File tree

4 files changed

+66
-2
lines changed

4 files changed

+66
-2
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using System;
2+
using NServiceBus;
3+
4+
public class TimeToBeReceived
5+
{
6+
public static void Usage(EndpointConfiguration endpointConfiguration)
7+
{
8+
#pragma warning disable CS0618 // Type or member is obsolete
9+
#region PlatformConnector-3to4-TimeToBeReceived
10+
var platformConnection = new ServicePlatformConnectionConfiguration
11+
{
12+
Metrics = new ServicePlatformMetricsConfiguration
13+
{
14+
TimeToBeReceived = TimeSpan.FromSeconds(60)
15+
}
16+
};
17+
18+
endpointConfiguration.ConnectToServicePlatform(platformConnection);
19+
#endregion
20+
#pragma warning restore CS0618 // Type or member is obsolete
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
3+
using System;
4+
using NServiceBus;
5+
6+
public class TimeToBeReceived
7+
{
8+
public static void Usage(EndpointConfiguration endpointConfiguration)
9+
{
10+
#region PlatformConnector-3to4-TimeToBeReceived
11+
var platformConnection = new ServicePlatformConnectionConfiguration
12+
{
13+
Metrics = new ServicePlatformMetricsConfiguration
14+
{
15+
TimeToLive = TimeSpan.FromSeconds(60)
16+
}
17+
};
18+
19+
endpointConfiguration.ConnectToServicePlatform(platformConnection);
20+
#endregion
21+
}
22+
}

menu/menu.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
- Url: nservicebus/upgrades/absdatabus-1to2
291291
Title: Version 1 to 2
292292
- Url: nservicebus/upgrades/absdatabus-6to1
293-
Title: Migrating off NServiceBus.Azure
293+
Title: Migrating off NServiceBus.Azure
294294
- Title: Azure Cloud Services Host
295295
Articles:
296296
- Url: nservicebus/upgrades/acs-host-7to8
@@ -367,6 +367,10 @@
367367
Title: Version 1 to 2
368368
- Url: nservicebus/upgrades/externalize-perfcounters
369369
Title: Migrate To External Nuget
370+
- Title: ServicePlatform Connector
371+
Articles:
372+
- Url: nservicebus/upgrades/service-platform-connector-3to4
373+
Title: Version 3 to 4
370374
- Title: ServiceControl Plugins
371375
Articles:
372376
- Url: nservicebus/upgrades/nsb6-sc-plugins-1to2
@@ -1177,7 +1181,7 @@
11771181
- Url: persistence/upgrades/ravendb-gateway-4to5
11781182
Title: Version 4 to 5
11791183
- Url: persistence/upgrades/ravendb-gateway-1to2
1180-
Title: Version 1 to 2
1184+
Title: Version 1 to 2
11811185
- Title: SQL
11821186
Articles:
11831187
- Url: persistence/upgrades/sql-client4
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: ServicePlatform Connector Upgrade Version 3 to 4
3+
summary: Instructions on how to upgrade the ServicePlatform Connector from version 3 to 4
4+
reviewed: 2025-08-29
5+
component: PlatformConnector
6+
isUpgradeGuide: true
7+
upgradeGuideCoreVersions:
8+
- 9
9+
- 10
10+
---
11+
12+
## Metrics TimeToBeReceived renamed to TimeToLive
13+
14+
In version 4, the setting to configure the maximum time to live for [Metrics messages](/platform/json-schema.md#metrics) has been renamed from `TimeToBeReceived` to `TimeToLive`. This aligns it with the naming convention of similar settings for other sections of the configuration.
15+
16+
snippet: PlatformConnector-3to4-TimeToBeReceived

0 commit comments

Comments
 (0)