You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Niels Basjes (JIRA)" <ji...@apache.org> on 2018/06/18 19:16:00 UTC
[jira] [Created] (FLINK-9610) Add Kafka partitioner that uses the
key to partition by
Niels Basjes created FLINK-9610:
-----------------------------------
Summary: Add Kafka partitioner that uses the key to partition by
Key: FLINK-9610
URL: https://issues.apache.org/jira/browse/FLINK-9610
Project: Flink
Issue Type: New Feature
Components: Kafka Connector
Reporter: Niels Basjes
Assignee: Niels Basjes
The kafka connector package only contains the
FlinkFixedPartitioner implementation of the FlinkKafkaPartitioner.
The most common usecase I have seen it the need to spread the records across the kafka partitions while keeping all messages with the same key together.
I'll put up a pull request with a very simple implementation that should make this a lot easier for others to use and extend.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)