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

ASF GitHub Bot commented on STORM-1449:
---------------------------------------

Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/994#issuecomment-173362478
  
    Maintaining backward compatibility is bi-directional, which means just 
modifying core can break module's backward compatibility what @revans2 stated.
    We should bear in mind of backward compatibility with core itself.
    Adopting semver is great to go, and in fact preparing 1.0.0 is the chance 
to break backward compatibility if necessary. If we were deprecated some 
classes/methods, let's review.
    I expect we can not have a chance to release another major version sooner 
(except 2.0, it is not for such change)


> Fix Kafka spout to maintain backward compatibility to pass byte[] instead of 
> ByteBuffer
> ---------------------------------------------------------------------------------------
>
>                 Key: STORM-1449
>                 URL: https://issues.apache.org/jira/browse/STORM-1449
>             Project: Apache Storm
>          Issue Type: Bug
>            Reporter: Arun Mahadevan
>            Assignee: Arun Mahadevan
>             Fix For: 1.0.0
>
>
> STORM-1220 introduced some changes where in one place it passes ByteBuffer as 
> is instead of byte[]. Existing bolts that expects a byte[] fails due to this 
> with "java.lang.RuntimeException: java.lang.ClassCastException: 
> java.nio.HeapByteBuffer cannot be cast to [B "



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

Reply via email to