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

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -