@Override
    public Config rewrite(String name, Config config) {
      List<TableDescriptor> descriptors = Arrays.asList(
          new InMemoryTableDescriptor("t1", KVSerde.of(new IntegerSerde(), new TestTableData.PageViewJsonSerde())),
          new InMemoryTableDescriptor("t2", KVSerde.of(new IntegerSerde(), new StringSerde())));
      Map<String, String> serdeConfig = TableConfigGenerator.generateSerdeConfig(descriptors);
      Map<String, String> tableConfig = TableConfigGenerator.generate(new MapConfig(config, serdeConfig), descriptors);
      return new MapConfig(config, serdeConfig, tableConfig);
    }
MyTaskApplication does not include table descriptor, so if the rewriter does not add the table configs properly,
then the application will fail to execute.
samza-test/src/test/java/org/apache/samza/test/table/TestLocalTableWithConfigRewriterEndToEnd.java