public void Configure(IConfiguration configuration, IClientBuilder clientBuilder) { clientBuilder .AddMemoryStreams <DefaultMemoryMessageBodySerializer>(StreamProviderName); }
public void Configure(IConfiguration configuration, IClientBuilder clientBuilder) => clientBuilder .AddMemoryStreams <DefaultMemoryMessageBodySerializer>(StreamProviderName, b => b .ConfigurePartitioning(partitionCount));
public void Configure(IConfiguration configuration, IClientBuilder clientBuilder) => clientBuilder .AddMemoryStreams <DefaultMemoryMessageBodySerializer>(StreamBatchingTestConst.ProviderName, b => b .ConfigurePartitioning(partitionCount) .ConfigureStreamPubSub(StreamPubSubType.ImplicitOnly));