You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The send task will be executed by the .NET thread pool, and whether the consume task is executed in parallel by the thread pool depends on the EnableConsumerPrefetch configuration. (#1380)
/// If true, the message will be pre fetch to memory queue for execute.
93
+
/// If true, the message will be pre fetch to memory queue for parallel execute by thread pool.
95
94
/// <para>Not available when <see cref="UseDispatchingPerGroup"/> true.</para>
96
95
/// Default is false
97
96
/// </summary>
@@ -103,14 +102,9 @@ public CapOptions()
103
102
/// <para>If true, the <see cref="EnableConsumerPrefetch"/> is not available.</para>
104
103
/// Default is false.
105
104
/// </summary>
105
+
[Obsolete("Use EnableConsumerPrefetch instead. Setting it to true means that each consumer is now executed concurrently by thread pool, regardless of whether they are in different groups.")]
106
106
publicboolUseDispatchingPerGroup{get;set;}
107
107
108
-
/// <summary>
109
-
/// The number of producer thread connections.
110
-
/// Default is 1
111
-
/// </summary>
112
-
publicintProducerThreadCount{get;set;}
113
-
114
108
/// <summary>
115
109
/// The interval of the collector processor deletes expired messages.
0 commit comments