I need create a file report for user request. Each user select the filter for file report, and my application should generate a file in cloud storage and send a notification with the file link generated.
This is the application workflow:
- the client selects a filter and request a report file
- The application get this request and create a record in datastore with data about user selected filter
- Stores the Datastore key URL Safe String from the new record in pubsub.
- The Dataflow Pipeline read the key stored in PubSub.
- Generate file in google cloud storage
- Notifies the client with storage file url
It is possible to create a file for each pubsub entrance ?
How I do to create a file with custom name?
It is correct this architecture ?