LGouellec / kafka-streams-dotnet

.NET Stream Processing Library for Apache Kafka 🚀
https://lgouellec.github.io/kafka-streams-dotnet/
MIT License
452 stars 73 forks source link

Provide a way to specify a custom partitioner #310

Open gurry opened 5 months ago

gurry commented 5 months ago

Please allow a custom partitioner to be set in Streamiz as we can do in Confluent.Kafka's ProducerBuilder?

My requirement is that when my topology emits events it needs to use a partition key that is different from the event key

LGouellec commented 4 days ago

@gurry

What do you need as the inputs of the partitioner ? topic, key, value is enough ?

gurry commented 4 days ago

Thanks @LGouellec for picking this up.

Yes, absolutely. Topic, key and value would be perfect.