You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Stig Rohde Døssing (JIRA)" <ji...@apache.org> on 2017/11/21 19:08:00 UTC

[jira] [Resolved] (STORM-2825) storm-kafka-client configuration fails with a ClassCastException if "enable.auto.commit" is present in the consumer config map, and the value is a string

     [ https://issues.apache.org/jira/browse/STORM-2825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stig Rohde Døssing resolved STORM-2825.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

> storm-kafka-client configuration fails with a ClassCastException if "enable.auto.commit" is present in the consumer config map, and the value is a string
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: STORM-2825
>                 URL: https://issues.apache.org/jira/browse/STORM-2825
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-kafka-client
>    Affects Versions: 1.2.0
>            Reporter: Stig Rohde Døssing
>            Assignee: Stig Rohde Døssing
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.2.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> {quote}
> Exception in thread "main" java.lang.ClassCastException: java.lang.String
> cannot be cast to java.lang.Boolean
>         at
> org.apache.storm.kafka.spout.KafkaSpoutConfig.setAutoCommitMode(KafkaSpoutConfig.java:721)
>         at
> org.apache.storm.kafka.spout.KafkaSpoutConfig.<init>(KafkaSpoutConfig.java:97)
>         at
> org.apache.storm.kafka.spout.KafkaSpoutConfig$Builder.build(KafkaSpoutConfig.java:671)
> {quote}



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