/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit/Transports/IPartitionKeyFormatter.cs
13 строк
464 B
Chris Patterson
Standardized the topology for partition key across service bus, event hub, and the SQL transport
25 апр 2024, 21:50
25 апр 2024, 21:50
e7c59ea
Код
Авторство
О чём код?
namespace MassTransit.Transports; public interface IPartitionKeyFormatter { /// <summary> /// Format the partition key to be used by the transport, if supported /// </summary> /// <typeparam name="T">The message type</typeparam> /// <param name="context">The message send context</param> /// <returns>The routing key to specify in the transport</returns> string FormatPartitionKey<T>(SendContext<T> context) where T : class; }