[ 
https://issues.apache.org/jira/browse/CAMEL-19651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17746995#comment-17746995
 ] 

Nicolas Filotto commented on CAMEL-19651:
-----------------------------------------

When you say "It is recommended to leave partitioner.class empty for default 
partitioning behavior", would you mind providing the source of this 
recommendation?

Because according to the Javadoc, the recommendation seems more to remove 
{{partitioner.class}} from the configuration 
https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/producer/internals/DefaultPartitioner.java#L25-L26
 

> Set empty partitioner as default
> --------------------------------
>
>                 Key: CAMEL-19651
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19651
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-kafka
>            Reporter: Rafał Gała
>            Priority: Minor
>
> org.apache.kafka.clients.producer.internals.DefaultPartitioner is deprecated. 
> It is recommended to leave partitioner.class empty for default partitioning 
> behavior.
>  
> Proposed PR - https://github.com/apache/camel/pull/10821



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to