Kaustubh Garimella
10/01/2025, 7:28 PMpartition_key in the Pulsar proto message so curious what that does or if its just metadataRunLLM
10/01/2025, 7:29 PMpartition_key (or message key) is used by the client to determine the partition (by hashing), and is also included in the message metadata for use by consumers, but the broker does not use it for routing decisions.
According to Pulsar documentation and Java client implementation, routing is handled before the message reaches the broker. The presence of partition_key in the protocol is for consumer-side logic and message semantics, not for server-side routing. Would you like more detail on how this works in other clients or the protocol?
Sources:
- Java client MessageRoutingMode enum 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.