Github user harshach commented on a diff in the pull request:

    https://github.com/apache/storm/pull/894#discussion_r45529315
  
    --- Diff: storm-core/src/jvm/backtype/storm/spout/RawScheme.java ---
    @@ -18,11 +18,13 @@
     package backtype.storm.spout;
     
     import backtype.storm.tuple.Fields;
    +
    +import java.nio.ByteBuffer;
     import java.util.List;
     import static backtype.storm.utils.Utils.tuple;
     
     public class RawScheme implements Scheme {
    -    public List<Object> deserialize(byte[] ser) {
    +    public List<Object> deserialize(ByteBuffer ser) {
    --- End diff --
    
    @arunmahadevan good point. we can use ByteBuffer.array() to have same 
signature.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to