[services] Tunnelbroker - Disabling messages persistence on messages send
Summary:
This diff introduces changes to the Tunnelbroker gRPC messages stream implementation according to the ENG-2641 task, where we need to disable messages persistence in the DynamoDB database using the config file parameter from D6622.
In this diff, we are disabling saving messages into the database when calling send messages, and a config flag from D6622 is presented.
Linear task: ENG-2641
Test Plan:
- CI gates are passed.
- Manual testing: The client connects to the gRPC messages stream and sends the messages to the certain deviceID. The expected result is messages are not stored in the messages table DynamoDB database when the config flag messages.skip_persistence is presented.
Reviewers: jon, bartek
Reviewed By: jon, bartek
Subscribers: ashoat, tomek, atul
Differential Revision: https://phab.comm.dev/D6624