[
https://issues.apache.org/jira/browse/NIFI-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15702330#comment-15702330
]
Bryan Bende commented on NIFI-3108:
-----------------------------------
With the new "per-instance" class loading capabilities introduced in NiFi 1.1,
we should be able to add a property like "Partitioner JARs" where the user can
specify one or more JARs to add to the classpath of the processor, and then
change the Partitioner property to allow entering any class name.
> PublishKafka Should Support Custom Partitioners
> -----------------------------------------------
>
> Key: NIFI-3108
> URL: https://issues.apache.org/jira/browse/NIFI-3108
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 1.0.0, 1.1.0
> Reporter: Bryan Bende
> Priority: Minor
>
> Currently PublishKafka/PublishKafka_0_10 have a property for choosing the
> partitioner which equates to setting the 'partitioner.class' property on the
> Kafka client, but the property on the processor only allows selecting from
> "Default Partitioner" and "Round-Robin" partitioner which are provided by the
> Kafka client.
> If someone wants to implement their own partitioner, there currently isn't an
> easy way to add it to NiFi's classpath, and there is no way to specify it in
> the processor.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)