public static string GetProducerDirectory(string tenantName, string productName, string componentName, string topicName, string producerName) { return(Path.Combine(TenantLocations.GetProducerRootDirectory(tenantName, productName, componentName, topicName), producerName)); }
public static string GetMessagePartitionFile(string tenantName, string productName, string componentName, string topicName, DateTime date) { return(Path.Combine(TenantLocations.GetMessageRootDirectory(tenantName, productName, componentName, topicName), $"msg_part_{date:yyyy_MM_dd}.xandy")); }