spring-cloud / spring-cloud/spring-cloud-stream
Failure if using multi output function with partitioning support
@olegz is already working on this.
Since May 4, 2021.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 646
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 8
Description
Describe the issue
If a PartitionAwareFunctionWrapper is registered for a multi output function it will be invoked with the output publisher Tuple instead of the actual message. This leads to a java.lang.IllegalArgumentException: Partition key cannot be null error.
To Reproduce
Please see this example project for a repro case.
https://github.com/chringwer/spring-cloud-stream-bug/tree/partition-key
Version of the framework
Spring Cloud Stream 3.1.0-RC1
Spring Cloud Function 3.1.0-RC1
Contributor guide
No contributing guide indexed for this repository
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.