I am looking for a way to group the data from multiple clients and store them to a database. The service (the Bazel Event Service
) has 2 RPC methods, 1 unary and 1 bidirectional streaming RPC using blockingStub and AsyncStub. I am coding a server that should separate data from concurrent clients and group requests to both RPC calls together, probably to store them somewhere. There is a Build_ID field in each request but I am not sure if it's unique for each client, so is there any other way to do it efficiently?