This is an automated email from the ASF dual-hosted git repository.

shenlin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-eventbridge.git


The following commit(s) were added to refs/heads/main by this push:
     new 83123f1  Set endpoint maxlength to 511 (#185)
83123f1 is described below

commit 83123f13129efeb35bb4d1ce6463e9486c80937f
Author: 1506182898 <[email protected]>
AuthorDate: Fri Jan 23 13:41:30 2026 +0800

    Set endpoint maxlength to 511 (#185)
    
    * Update EventBridgeConstants.java set EVENT_ENDPOINT_MAX_LENGTH to 511
    
    * Update EventBridgeErrorCode.java
---
 .../apache/rocketmq/eventbridge/domain/common/EventBridgeConstants.java | 2 +-
 .../eventbridge/domain/common/exception/EventBridgeErrorCode.java       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/domain/src/main/java/org/apache/rocketmq/eventbridge/domain/common/EventBridgeConstants.java
 
b/domain/src/main/java/org/apache/rocketmq/eventbridge/domain/common/EventBridgeConstants.java
index 08df563..e2bef9b 100644
--- 
a/domain/src/main/java/org/apache/rocketmq/eventbridge/domain/common/EventBridgeConstants.java
+++ 
b/domain/src/main/java/org/apache/rocketmq/eventbridge/domain/common/EventBridgeConstants.java
@@ -53,7 +53,7 @@ public class EventBridgeConstants {
 
     public static final String SYSTEM_ENVIRONMENT_ACCOUNT_ID = "AccountId";
 
-    public static final int EVENT_ENDPOINT_MAX_LENGTH = 127;
+    public static final int EVENT_ENDPOINT_MAX_LENGTH = 511;
 
     public static final int EVENT_ENDPOINT_MIN_LENGTH = 1;
 
diff --git 
a/domain/src/main/java/org/apache/rocketmq/eventbridge/domain/common/exception/EventBridgeErrorCode.java
 
b/domain/src/main/java/org/apache/rocketmq/eventbridge/domain/common/exception/EventBridgeErrorCode.java
index 78ccb8a..33edada 100644
--- 
a/domain/src/main/java/org/apache/rocketmq/eventbridge/domain/common/exception/EventBridgeErrorCode.java
+++ 
b/domain/src/main/java/org/apache/rocketmq/eventbridge/domain/common/exception/EventBridgeErrorCode.java
@@ -127,7 +127,7 @@ public enum EventBridgeErrorCode implements BaseErrorCode {
     MethodIsBlank(409, "Method", "Method is blank!"),
     NetworkParametersIsNull(409, "NetworkParametersIsNull", "NetworkParameters 
is null!"),
     NetworkTypeIsBlank(409, "NetworkTypeIsBlank", "NetworkType is blank!"),
-    EndpointLengthExceed(409, "EndpointLengthExceed", "Endpoint length cannot 
exceed 127!"),
+    EndpointLengthExceed(409, "EndpointLengthExceed", "Endpoint length cannot 
exceed 511!"),
 
     ClientIDLengthExceed(409, "ClientIDLengthExceed", "ClientID length cannot 
exceed 127!"),
 

Reply via email to