streamiz icon indicating copy to clipboard operation
streamiz copied to clipboard

Provide a way to specify a custom partitioner

Open gurry opened this issue 2 years ago • 2 comments

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

gurry avatar Jan 17 '24 11:01 gurry

@gurry

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

LGouellec avatar Jun 29 '24 00:06 LGouellec

Thanks @LGouellec for picking this up.

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

gurry avatar Jun 29 '24 02:06 gurry