rabbitmq / rabbitmq/rabbitmq-java-client
Use array fragment for message body
Open
@acogoluegnes is already working on this.
Since Oct 31, 2018.
effort-low
enhancement
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 587
- Avg merge
- 7h 29m
- Merged PRs (30d)
- 41
Description
Sometimes the message body can be just a subset of a byte array and the only way now to send this subset is to copy it into another array and use it as message body.
To avoid a copy, the Channel could be extended with basicPublish methods that accept an array fragment parameter (array of byte, offset, and length).
More context: #421, https://github.com/rabbitmq/rabbitmq-java-client/issues/421#issuecomment-433948206, https://github.com/rabbitmq/rabbitmq-java-client/issues/421#issuecomment-433963410.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.