Remote partition - slave getting greedy

前端 未结 1 930
南旧
南旧 2021-01-21 18:41

Following is what we are trying to achieve.

We want a big xml file to be staged in a database parallely in different vms. To achieve this, we are using the scalable spr

1条回答
  •  鱼传尺愫
    2021-01-21 19:23

    Found the issue that we were having.

    The slave was including the spring batch job definition twice that caused the number of consumers to be registered twice for each slave. I think that we are missing some configuration to route messages back from the slave to the master when we have two partitions running concurrently on the slave correctly so at this point as long as we have one partition going to one slave (we are multithreading on the slave ) we are fine.

    0 讨论(0)
提交回复
热议问题