This section details the interdependency between message processors and Apigee API Hub for Private Cloud connector for runtime record processing. For runtime data (analytics) to be transferred to API Hub, the message processors in your Apigee Edge for Private Cloud environment need to be configured for "dual write" to the shared network file system.
- Set up network file system (NFS):
- Ensure NFS is configured and mounted. This NFS will be used to share analytics records from all message processors.
- The NFS mount must be available and mounted on all virtual machines where message processors and the Apigee Edge for Private Cloud connector are running.
- Configure message processors for writing on NFS: Edit the file
/opt/apigee/customer/application/message-processor.properties
on each message processor virtual machine.Add the following configurations:
# This is a comma separated list of all the environments for which the Apigee hub connector runtime data on-ramp has to be enabled. In this example we have enabled 3 environments from 2 different organizations. # Path to the NFS mount which will store the runtime data from message processors.conf_message-processor-communication_uapim.enabled.environments=acme~prod,acme~dev,noncps~prod
conf_message-processor-communication_uapim.runtime.data.path=/the/nfs
- Restart message processors: Use the rolling restart method to restart the message processors.