[ 
https://issues.apache.org/jira/browse/FLINK-9610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Niels Basjes updated FLINK-9610:
--------------------------------
    Description: 
The kafka connector package only contains the FlinkFixedPartitioner 
implementation of the FlinkKafkaPartitioner.

The most common usecase I have seen is 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.

  was:
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.


> 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
>            Priority: Major
>
> The kafka connector package only contains the FlinkFixedPartitioner 
> implementation of the FlinkKafkaPartitioner.
> The most common usecase I have seen is 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)

Reply via email to