| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <!-- |
| Replicating Hourly customer table from primary to secondary cluster. |
| --> |
| <feed description="Replicating customer table feed" name="customer-table-replicating-feed" |
| xmlns="uri:falcon:feed:0.1"> |
| |
| <frequency>hours(1)</frequency> |
| <timezone>UTC</timezone> |
| |
| <clusters> |
| <cluster name="primary-cluster" type="source"> |
| <validity start="2013-10-24T00:00Z" end="2014-10-26T00:00Z"/> |
| <retention limit="days(30)" action="delete"/> |
| </cluster> |
| <cluster name="bcp-cluster" type="target"> |
| <validity start="2013-10-24T00:00Z" end="2014-10-26T00:00Z"/> |
| <retention limit="months(12)" action="delete"/> |
| |
| <table uri="catalog:tgt_demo_db:customer_bcp#ds=${YEAR}${MONTH}${DAY}${HOUR}" /> |
| </cluster> |
| </clusters> |
| |
| <table uri="catalog:src_demo_db:customer_raw#ds=${YEAR}${MONTH}${DAY}${HOUR}" /> |
| |
| <ACL owner="seetharam" group="users" permission="0755"/> |
| <schema location="" provider="hcatalog"/> |
| |
| </feed> |