Skip to content

Commit

Permalink
fix: remove V1 configs for now
Browse files Browse the repository at this point in the history
  • Loading branch information
pgautier404 committed Sep 11, 2023
1 parent 68b4cae commit 8469f21
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions src/Momento.Sdk/Config/TopicConfigurations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,6 @@ private Default(ILoggerFactory loggerFactory, ITopicTransportStrategy transportS
/// <param name="loggerFactory"></param>
/// <returns></returns>
public static ITopicConfiguration Latest(ILoggerFactory? loggerFactory = null)
{
return V1(loggerFactory);
}

/// <summary>
/// Provides the version 1 configuration for an InRegion environment.
/// </summary>
/// <remark>
/// This configuration is guaranteed not to change in future
/// releases of the Momento .NET SDK.
/// </remark>
/// <param name="loggerFactory"></param>
/// <returns></returns>
public static ITopicConfiguration V1(ILoggerFactory? loggerFactory = null)
{
var finalLoggerFactory = loggerFactory ?? NullLoggerFactory.Instance;
ITopicTransportStrategy transportStrategy = new StaticTopicTransportStrategy(
Expand Down Expand Up @@ -145,21 +131,6 @@ private LowLatency(ILoggerFactory loggerFactory, ITopicTransportStrategy transpo
/// <param name="loggerFactory"></param>
/// <returns></returns>
public static ITopicConfiguration Latest(ILoggerFactory? loggerFactory = null)
{
return V1(loggerFactory);
}

/// <summary>
/// Provides the latest recommended configuration for a low-latency in-region
/// environment.
/// </summary>
/// <remark>
/// This configuration is guaranteed not to change in future
/// releases of the Momento .NET SDK.
/// </remark>
/// <param name="loggerFactory"></param>
/// <returns></returns>
public static ITopicConfiguration V1(ILoggerFactory? loggerFactory = null)
{
var finalLoggerFactory = loggerFactory ?? NullLoggerFactory.Instance;
ITopicTransportStrategy transportStrategy = new StaticTopicTransportStrategy(
Expand All @@ -168,7 +139,6 @@ public static ITopicConfiguration V1(ILoggerFactory? loggerFactory = null)
);
return new LowLatency(finalLoggerFactory, transportStrategy);
}

}
}
}

0 comments on commit 8469f21

Please sign in to comment.