Update RocketMQEventDataAPIImpl.java
fix(typo): fix typo in RocketMQEventDataAPIImpl
diff --git a/adapter/storage/src/main/java/org/apache/rocketmq/eventbridge/adapter/storage/rocketmq/api/RocketMQEventDataAPIImpl.java b/adapter/storage/src/main/java/org/apache/rocketmq/eventbridge/adapter/storage/rocketmq/api/RocketMQEventDataAPIImpl.java
index ae547a8..4749798 100644
--- a/adapter/storage/src/main/java/org/apache/rocketmq/eventbridge/adapter/storage/rocketmq/api/RocketMQEventDataAPIImpl.java
+++ b/adapter/storage/src/main/java/org/apache/rocketmq/eventbridge/adapter/storage/rocketmq/api/RocketMQEventDataAPIImpl.java
@@ -70,12 +70,12 @@
rocketMQMsg.setBody(eventBridgeEvent.getData());
size += rocketMQMsg.getBody().length;
}
- size += fillEventAttribues(rocketMQMsg, eventBridgeEvent);
+ size += fillEventAttributes(rocketMQMsg, eventBridgeEvent);
size += fillExtension(rocketMQMsg, eventBridgeEvent.getExtensions());
return size;
}
- public static int fillEventAttribues(Message rocketMQMsg, EventBridgeEvent eventBridgeEvent) {
+ public static int fillEventAttributes(Message rocketMQMsg, EventBridgeEvent eventBridgeEvent) {
int totalLength = 0;
totalLength += putIfPresent(PROPERTY_ATTRIBUTE_EVENT_ID, eventBridgeEvent.getId(), rocketMQMsg);
totalLength += putIfPresent(PROPERTY_ATTRIBUTE_EVENT_SOURCE, eventBridgeEvent.getSource(), rocketMQMsg);