1. A method, comprising: allocating a plurality of hardware accelerators to a corresponding plurality of bolts of a distributed stream in a network, wherein the distributed stream comprises a topology of at least one spout and the plurality of bolts; facilitating a handshake between the hardware accelerators and the corresponding bolts to allow the hardware accelerators to execute respective processing logic on data elements of the distributed stream according to the corresponding bolts; and performing elastic allocation of the hardware accelerators and load balancing of stream processing in the network.