Google Cloud Storage interface type is used to define the connections between a blob storage and a data stream.
When creating an Interface Listener for a Broadway flow, an Google Cloud Storage interface is needed to detect new files added to the storage.
To create a new Google Cloud Storage interface, do the following:
Go to Project Tree > Shared Objects, right click Interfaces, select New Interface and then select Google Cloud Storage from the File System section to open the New Interface window.
Populate the connection's settings and click Save.
Go to Project Tree > Shared Objects, right click Interfaces, select New Interface and then select Google Cloud Storage from the Interface Type dropdown menu to open the New Interface window.
Enter a suitable name for your new Google Cloud Storage Interface, then click Create
Populate the connection's settings and click Save.
Test Connection. Click to test the connection.
Add an Interface Listener as a Broadway job. Click to create an Interface Listener job under the specified Logical Unit.
Parameter | Description |
Bucket name | The name of the bucket. |
Project ID | Project ID. |
Location ID | Location ID. |
Credentials file | The location of the credentials file. |
To create an Interface Listener Job that runs on an Google Cloud Storage interface, do the following:
Create an interface using an Google Cloud Storage interface type.
Click the Add interface listener as Broadway job link in the Interface window and select the Logical Unit from the list to open the Jobs window.
Create a Broadway flow either under Shared Objects or under the same Logical Unit. The flow reads data from a file using the predefined interface and populates it into the DB.
The InterfaceListener Actor enables the flow in which it is instantiated to listen to Google Cloud Storage interface and trigger another Broadway flow upon arrival of a new file on the interface.
To create an Interface Listener job from a Broadway flow, add the InterfaceListener Actor to the flow.
Fill in the following parameters in the Actor's Properties tab:
flowName, the flow to be triggered by the Interface Listener.
interfaceName, the interface that is being listened and used to trigger the flow defined above, once a new file is detected on the file system to which the interface points.
affinity, sets which node/DC name IP address is to be used to run the Interface Listener job.
params, refer to the arguments that can be passed to the flow. For example, multiple parameters can be parsed as a key/value object from an external link or from a Const or JavaScript Actor.
Google Cloud Storage interface type is used to define the connections between a blob storage and a data stream.
When creating an Interface Listener for a Broadway flow, an Google Cloud Storage interface is needed to detect new files added to the storage.
To create a new Google Cloud Storage interface, do the following:
Go to Project Tree > Shared Objects, right click Interfaces, select New Interface and then select Google Cloud Storage from the File System section to open the New Interface window.
Populate the connection's settings and click Save.
Go to Project Tree > Shared Objects, right click Interfaces, select New Interface and then select Google Cloud Storage from the Interface Type dropdown menu to open the New Interface window.
Enter a suitable name for your new Google Cloud Storage Interface, then click Create
Populate the connection's settings and click Save.
Test Connection. Click to test the connection.
Add an Interface Listener as a Broadway job. Click to create an Interface Listener job under the specified Logical Unit.
Parameter | Description |
Bucket name | The name of the bucket. |
Project ID | Project ID. |
Location ID | Location ID. |
Credentials file | The location of the credentials file. |
To create an Interface Listener Job that runs on an Google Cloud Storage interface, do the following:
Create an interface using an Google Cloud Storage interface type.
Click the Add interface listener as Broadway job link in the Interface window and select the Logical Unit from the list to open the Jobs window.
Create a Broadway flow either under Shared Objects or under the same Logical Unit. The flow reads data from a file using the predefined interface and populates it into the DB.
The InterfaceListener Actor enables the flow in which it is instantiated to listen to Google Cloud Storage interface and trigger another Broadway flow upon arrival of a new file on the interface.
To create an Interface Listener job from a Broadway flow, add the InterfaceListener Actor to the flow.
Fill in the following parameters in the Actor's Properties tab:
flowName, the flow to be triggered by the Interface Listener.
interfaceName, the interface that is being listened and used to trigger the flow defined above, once a new file is detected on the file system to which the interface points.
affinity, sets which node/DC name IP address is to be used to run the Interface Listener job.
params, refer to the arguments that can be passed to the flow. For example, multiple parameters can be parsed as a key/value object from an external link or from a Const or JavaScript Actor.