elevant values within the tuple.
From: anshu shukla <anshushuk...@gmail.com>
Reply-To: "user@storm.apache.org" <user@storm.apache.org>
Date: Tuesday, March 21, 2017 at 8:40 AM
To: "user@storm.apache.org" <user@storm.apache.org>
Subject: Converting storm t
t;
>
>
>
>
> *From: *anshu shukla <anshushuk...@gmail.com>
> *Reply-To: *"user@storm.apache.org" <user@storm.apache.org>
> *Date: *Tuesday, March 21, 2017 at 8:40 AM
> *To: *"user@storm.apache.org" <user@storm.apache.org>
> *Subject: *Conv
.
From: anshu shukla <anshushuk...@gmail.com>
Reply-To: "user@storm.apache.org" <user@storm.apache.org>
Date: Tuesday, March 21, 2017 at 8:40 AM
To: "user@storm.apache.org" <user@storm.apache.org>
Subject: Converting storm tuple to bytearray
Hello,
Hello,
*1- Can anyone explain how to convert storm tuple to byte array. I have
used the following code. *
private byte[] convertToBytes(Object object) throws IOException {
try (ByteArrayOutputStream bos = new ByteArrayOutputStream();
ObjectOutput out = new ObjectOutputStream(bos)) {