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

YulongZ commented on STORM-2865:
--------------------------------

This approach is also effective.Thank you for your reply.

> KafkaSpout constructor with KafkaConsumerFactory shoud be public
> ----------------------------------------------------------------
>
>                 Key: STORM-2865
>                 URL: https://issues.apache.org/jira/browse/STORM-2865
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-kafka-client
>    Affects Versions: 2.0.0, 1.x
>         Environment: kafka version:0.11
> storm-kafka-client version: 1.1.*
>            Reporter: YulongZ
>            Priority: Minor
>             Fix For: 2.0.0, 1.x
>
>
> When we use custom implement of interface "Deserializer",KafkaSpout 
> constructor can only use class "KafkaConsumerFactoryDefault",the method 
> “configure” of Interface “Deserializer” will not be called。
> We need change the "KafkaSpout" constructor with "KafkaConsumerFactory" to be 
> public, so we can create custom custom implement of interface 
> "KafkaConsumerFactory".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to