generate flume configuration