// this module; this may contain properties specific to
// the container that just departed (such as partition
// index in the case of partitioned streams)
RuntimeModuleDeploymentProperties deploymentProperties = new RuntimeModuleDeploymentProperties();
deploymentProperties.putAll(ZooKeeperUtils.bytesToMap(client.getData().forPath(
moduleDeploymentsPath.build())));
String unitName = moduleDeploymentsPath.getDeploymentUnitName();
String moduleType = moduleDeploymentsPath.getModuleType();
if (ModuleType.job.toString().equals(moduleType)) {