rabbit_latency: add java impl
unify config between NodeJS and Java tests