A way to output a msg to a specific partition #268
Replies: 5 comments 4 replies
-
I am not sure to understand the question. |
Beta Was this translation helpful? Give feedback.
-
You can define the routing client side. See the example Particularly here: https://github.com/rabbitmq/rabbitmq-stream-dotnet-client/blob/main/docs/SuperStream/SuperStreamProducer.cs#L43 SuperStreamConfig = new SuperStreamConfig() // <2>
{
Routing = msg => msg.Properties.MessageId.ToString() //<-- here you can define your routing
} |
Beta Was this translation helpful? Give feedback.
-
@rangeldaykes ok I got what you mean. And currently, the client does not implement Key strategy. We will add it. |
Beta Was this translation helpful? Give feedback.
-
@rangeldaykes FYI #269 |
Beta Was this translation helpful? Give feedback.
-
https://www.nuget.org/packages/RabbitMQ.Stream.Client/1.4.1 contains the feature |
Beta Was this translation helpful? Give feedback.
-
is there a way to output a msg to a specific partition, or just with the HashRoutingMurmurStrategy?
Beta Was this translation helpful? Give feedback.
All reactions