[
https://issues.apache.org/jira/browse/FLINK-7913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16286782#comment-16286782
]
Tzu-Li (Gordon) Tai commented on FLINK-7913:
--------------------------------------------
As a side note for clarification: I think the default paritioning behaviour in
Kafka is round-robin only if there is no key attached to written records,
otherwise hash partitioning is used.
See:
https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/producer/internals/DefaultPartitioner.java.
> Add support for Kafka default partitioner
> -----------------------------------------
>
> Key: FLINK-7913
> URL: https://issues.apache.org/jira/browse/FLINK-7913
> Project: Flink
> Issue Type: Improvement
> Components: Kafka Connector
> Affects Versions: 1.4.0
> Reporter: Konstantin Lalafaryan
> Assignee: Konstantin Lalafaryan
> Priority: Blocker
> Fix For: 1.5.0
>
>
> Currently in the Apache Flink it is available only *FlinkKafkaPartitioner*
> and just one implementation *FlinkFixedPartitioner*.
> In order to be able to use Kafka's default partitioner you have to create new
> implementation for *FlinkKafkaPartitioner* and fork the code from the Kafka.
> It will be really good to be able to define the partitioner without
> implementing the new class.
> Thanks.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)