consolidate es host and port,

and allow publisher to deal with csv batches