I'm running into the problem with insufficient output buffers. I'm using OmmConsumerConfig, but not EmaConfig.xml. Is there a way to set GuaranteedOutputBuffer programatically? I couldn't find an example on the forums, in the samples, or the EMA javadoc.
GuaranteedOutputBuffers is not exposed programmatically, you will have to set it from file-based config.
In my experience, hard-coded config is best suitable for simple examples, and production-strength applications require the flexibility of a file-based configuration.