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

Hudson commented on FLUME-2999:
-------------------------------

FAILURE: Integrated in Jenkins build Flume-trunk-hbase-1 #209 (See 
[https://builds.apache.org/job/Flume-trunk-hbase-1/209/])
FLUME-2999. Kafka channel and sink should enable statically assigned (mpercy: 
[http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=585c4c92ed65c529871765ab64a5b3637fbdb07d])
* (edit) flume-ng-doc/sphinx/FlumeUserGuide.rst
* (add) 
flume-shared/flume-shared-kafka-test/src/main/java/org/apache/flume/shared/kafka/test/PartitionTestScenario.java
* (add) flume-shared/pom.xml
* (edit) flume-ng-sources/flume-kafka-source/pom.xml
* (edit) 
flume-ng-channels/flume-kafka-channel/src/main/java/org/apache/flume/channel/kafka/KafkaChannel.java
* (edit) pom.xml
* (edit) 
flume-ng-channels/flume-kafka-channel/src/main/java/org/apache/flume/channel/kafka/KafkaChannelConfiguration.java
* (edit) 
flume-ng-channels/flume-kafka-channel/src/test/java/org/apache/flume/channel/kafka/TestKafkaChannel.java
* (edit) 
flume-ng-sinks/flume-ng-kafka-sink/src/main/java/org/apache/flume/sink/kafka/KafkaSink.java
* (add) 
flume-shared/flume-shared-kafka-test/src/main/java/org/apache/flume/shared/kafka/test/KafkaPartitionTestUtil.java
* (add) 
flume-shared/flume-shared-kafka-test/src/main/java/org/apache/flume/shared/kafka/test/PartitionOption.java
* (add) flume-shared/flume-shared-kafka-test/pom.xml
* (edit) flume-ng-sinks/flume-ng-kafka-sink/pom.xml
* (edit) 
flume-ng-sinks/flume-ng-kafka-sink/src/main/java/org/apache/flume/sink/kafka/KafkaSinkConstants.java
* (edit) flume-ng-channels/flume-kafka-channel/pom.xml
* (edit) 
flume-ng-sinks/flume-ng-kafka-sink/src/test/java/org/apache/flume/sink/kafka/TestKafkaSink.java


> Kafka channel and sink should enable statically assigned partition per event 
> via header
> ---------------------------------------------------------------------------------------
>
>                 Key: FLUME-2999
>                 URL: https://issues.apache.org/jira/browse/FLUME-2999
>             Project: Flume
>          Issue Type: Improvement
>          Components: Channel, Sinks+Sources
>    Affects Versions: v1.7.0
>            Reporter: Tristan Stevens
>            Assignee: Tristan Stevens
>            Priority: Minor
>             Fix For: v1.7.0
>
>         Attachments: FLUME-2999-4.patch
>
>
> This feature is useful for anyone who needs greater control of which 
> partitions are being written to - normally in a situation where multiple 
> Flume agents are being deployed in order to horizontally scale, or 
> alternatively if there is a scenario where there is a skew in data that might 
> lead to one or more partitions hotspotting.
> We also have the ability to specify custom partitions on to the Kafka 
> Producer itself using the kafka.* configuration properties.
> The Kafka Producer provides the ability to set the partition ID using the 
> following constructor 
> (https://kafka.apache.org/090/javadoc/org/apache/kafka/clients/producer/ProducerRecord.html#ProducerRecord(java.lang.String,%20java.lang.Integer,%20K,%20V%29
>  ), this is just a matter of providing the option to use this constructor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to