How do I set GuaranteedOutputBuffer programatically?

shawn11
shawn11 Newcomer

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.

https://community.developers.refinitiv.com/questions/7929/logging-reqmsg-using-ema-api.html

Thanks,

Shawn

Best Answer

  • zoya faberov
    zoya faberov ✭✭✭✭✭
    Answer ✓

    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.

Answers