Hi Gunnar,
Thank you for your response.
Yes, we can route the TX END event to another topic based on their contents. But we also want to route it to a specific partition based on business ID, such as the user ID. That way the USER message and USER TX message will be routed to the same partition(different topic), then we can use Kafka-streams(need co-partition ) to aggregate them together to generate a transaction level message, that transaction level message is what we really need.
Can we put the data_collections data in the TX END event to the last message of the transaction? That way we don't need to process TX END
or Do you have any other suggestions to aggregate messages to a transaction level message?