This is an automated email from the ASF dual-hosted git repository. jinrongtong pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
The following commit(s) were added to refs/heads/master by this push: new 214761b5 [ISSUE #919] Add transaction message retry attempt for C# client Producer (#921) 214761b5 is described below commit 214761b52ff7c8f63656f43a169b8e404cd3fbbe Author: Jack Tsai <tsunghanjackt...@outlook.com> AuthorDate: Wed Jan 22 09:51:22 2025 +0800 [ISSUE #919] Add transaction message retry attempt for C# client Producer (#921) --- csharp/rocketmq-client-csharp/Producer.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/csharp/rocketmq-client-csharp/Producer.cs b/csharp/rocketmq-client-csharp/Producer.cs index 24f1a0ac..1986182f 100644 --- a/csharp/rocketmq-client-csharp/Producer.cs +++ b/csharp/rocketmq-client-csharp/Producer.cs @@ -254,14 +254,6 @@ namespace Org.Apache.Rocketmq throw; } - if (MessageType.Transaction == message.MessageType) - { - Logger.LogError(e, "Failed to send transaction message, run out of attempt times, " + - $"topic={message.Topic}, maxAttempt=1, attempt={attempt}, " + - $"endpoints={endpoints}, messageId={message.MessageId}, clientId={ClientId}"); - throw; - } - if (!(exception is TooManyRequestsException)) { // Retry immediately if the request is not throttled.