Closed
Description
In HLRC we can set slices to auto passing 0 as argument:
Params withSlices(int slices) {
if (slices == 0) {
// translate to "auto" value in rest request so the receiving end doesn't throw error
return putParam("slices", AbstractBulkByScrollRequest.AUTO_SLICES_VALUE);
}
return putParam("slices", String.valueOf(slices));
}
There is no such option in new java client:
if (request.slices != null) {
params.put("slices", String.valueOf(request.slices));
}