Chronicle Queue: Is recordHistory() not available anymore?

48 views Asked by At

I'd like to benchmark the queue performance using the method demonstrated in github README.

However, when I tried on the latest version (chronicle-queue: 5.23ea5, chronicle-wire: 2.23ea5), recordHistory(bool recordHistory) doesn't seem to be available, I doubled checked javadoc.

MethodWriterBuilder seemed to have been replaced by VanillaMethodWriterBuilder, which does not have recordHistory(bool recordHistory) method.

Does this library still provide a way of tracing messages and adding timestamps as they move through the system?

I would appreciate any pointers. Thank you.

1

There are 1 answers

0
Jerry Shea On BEST ANSWER

yes recordHistory(bool) has been removed. It was only useful if sourceId was set so now setting sourceId (on the queue) will turn on recordHistory automatically.

We are updating the CQ documentation to reflect this.