return relayPuller;
}
private static DbusKeyCompositeFilterConfig createFakeFilter() throws DatabusException
{
DbusModPartitionedFilterFactory filterFactory = new DbusModPartitionedFilterFactory("source1");
DbusClusterInfo cluster = new DbusClusterInfo("cluster", 2, 2);
DbusPartitionInfo partition = new DbusPartitionInfo() {
@Override
public long getPartitionId() { return 1; }
@Override
public boolean equalsPartition(DbusPartitionInfo other) { return true; }
};
return filterFactory.createServerSideFilter(cluster, partition);
}