ThreeBearsDan opened a new issue #668:
URL: https://github.com/apache/rocketmq-client-go/issues/668
1. Please describe the issue you observed:
- What did you do (The steps to reproduce)?
When I sent transaction message, I need pass other arguments to the
local transaction from outside. But there's just one msg arguments there
`ExecuteLocalTransaction(msg *primitive.Message)
primitive.LocalTransactionState`. Actually I need one like
`ExecuteLocalTransaction(msg *primitive.Message, args map[string]interface{})
primitive.LocalTransactionState`, just like in JAVA client. The signature in
JAVA like this `public LocalTransactionState executeLocalTransaction(Message
msg, Object arg)`. I think this maybe what I want to have.
- What did you expect to see?
`ExecuteLocalTransaction(msg *primitive.Message, args
map[string]interface{}) primitive.LocalTransactionState`
- What did you see instead?
`ExecuteLocalTransaction(msg *primitive.Message)
primitive.LocalTransactionState`
2. Please tell us about your environment:
- What is your OS?
MAC OS Catalina
- What is your client version?
2.1.0
- What is your RocketMQ version?
4.5.0
3. Other information (e.g. detailed explanation, logs, related issues,
suggestions on how to fix, etc):
**FEATURE REQUEST**
1. Please describe the feature you are requesting.
I want to pass other arguments to my local transaction when send transaction
message.
2. Provide any additional detail on your proposed use case for this feature.
Some information need to save in my local transaction.
2. Indicate the importance of this issue to you (blocker, must-have,
should-have, nice-to-have). Are you currently using any workarounds to address
this issue?
must-have. not yet.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]