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

Joseph Witt commented on NIFI-2608:
-----------------------------------

Work remaining:

* Update WritesAttributes annotations for ConsumeKafka to account for all items
* Consider providing Consume and Publish Kafka processors for the 0.10 API. 
While the API is the same there is apparently a way to limit how many messages 
come back from Kafka as a result of a single poll call which we definitely want 
to use. Also, while the 0.9 clients can talk to 0.10 brokers the Kafka docs 
indicate there may be a steep kafka server/broker performance penalty due to 
changes in how the compaction or compression mechanism works. Could call these 
processors ConsumeKafka010 and PublishKafka010.
* Add docs explaining how to think about number of threads for consumers vs 
number of nodes in the cluster vs number of topics and partitions represented 
and what happens if for any period of time there are more consumer threads than 
there are partitions.

> Thread-safety issue with ConsumeKafka
> -------------------------------------
>
>                 Key: NIFI-2608
>                 URL: https://issues.apache.org/jira/browse/NIFI-2608
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Oleg Zhurakousky
>            Assignee: Joseph Witt
>             Fix For: 1.0.0
>
>
> KafkaConsumer went fro thread-safe in 0.8 to not-thread-safe in 0.9 which was 
> overlooked while implementing new ConsumeKafka processor which relied on 0.9 
> Client API.



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

Reply via email to