and when using trident, if batch going processed on 1 bolt, can batch run on different workers?
you can (but tricky). , no.
for 1) there no configuration parameter this. can configure number of workers of whole topology. however, can implement custom scheduler assign executors of bolt specific number of workers.
for 2) batch "unit of work" cannot divided. thus, can not partitioned multiple workers.
Comments
Post a Comment