osb-kafka-transport icon indicating copy to clipboard operation
osb-kafka-transport copied to clipboard

Batch fetch message and deal with messages in single OSB thread

Open allgao opened this issue 6 years ago • 0 comments

I’m working on a project regarding OSB kafka transport. I want to ask you if it’s possible to fetch a batch of messages (for example 100 mesages) from kafka and deal with them in single osb thread. What I want to do is transforming the messages and store them into Oracle database by commit only once. I’ve tried properties like fetch.min.bytes and fetch.max.wait.ms. The osb do fetch multiple messages once but create multiple threads to deal with it, still one message per thread then commit as many times as the number of messages.

allgao avatar Nov 01 '18 03:11 allgao