* @param data The data required to create the entity.
* @return The FlumeAvroManager.
*/
public FlumeEmbeddedManager createManager(final String name, final FactoryData data) {
try {
final DefaultLogicalNodeManager nodeManager = new DefaultLogicalNodeManager();
final Properties props = createProperties(data.name, data.agents, data.properties, data.batchSize,
data.dataDir);
final FlumeConfigurationBuilder builder = new FlumeConfigurationBuilder();
final NodeConfiguration conf = builder.load(data.name, props, nodeManager);