// Create "Person" AvroStore
source = "Person";
responder = mtStoreResponder.createTenant(source);
baseStore = ((BasicArrayStoreResponder)responder).getStore();
AvroStore<Integer> personStore = new SimpleAvroArray(baseStore, createPersonSchema());
map.put(source, personStore);
// Create "Address" AvroStore
source = "Address";
responder = mtStoreResponder.createTenant(source);
baseStore = ((BasicArrayStoreResponder)responder).getStore();
AvroStore<Integer> addressStore = new SimpleAvroArray(baseStore, createAddressSchema());
map.put(source, addressStore);
// Create Avro store joiner
AvroStoreJoiner<Integer> joiner = new AvroStoreJoiner<Integer>("PersonalRecord", "avro.test", map, keySerializer);
joiner.setMaster(personStore);