Apache Storm Bolt -
class mybolt(storm.basicbolt): def process(self, tup): data = tup.values[0].split(',')
i new apache storm , see above program not quite understand. wonder data=tup.values[0]
do. help!
tuple defintion ordered list of objects. tup.values[0]
retrieves object tuple by position. returns first object in tuple.
Comments
Post a Comment