apache / apache/rocketmq-client-go
Modify producer api to increase flexibility
Open
discuss
- Dominant language
- Go
- Stars
- 1.4k
- Forks
- 445
- PR merge metrics
- No merged PRs in 30d
Description
**FEATURE REQUEST**

```RequestAsync``` has an argument ```callback``` which is an internal function type.
Maybes it's better to define an API function without importing an internal definition.
For example:
1. When I tried to implement a mock producer to do unit testing of my business logic, it was almost impossible.
2. When I tried to implement a wrapper producer which integrated some custom logic, it was also very hard to do.
Contributor guide
Assessment
This issue has not been assessed yet.