Closed jordanhiltunen closed 3 months ago
Cool library!
I was trying to experiment with it locally, using the examples in the README to get started, but I couldn't get batch publishing to work.
It looks like while the README references publish_batch, the actual function for the producer is batch_publish.
publish_batch
batch_publish
https://github.com/nicholassm/disruptor-rs/blob/22e13239eddf5f6695238dbde8d6121059dfeb69/src/producer.rs#L218
Many thanks. I seriously need to find a nice way to run the code in the readme as part of the tests - this is not the first typo... (Although I caught the others myself. :-) )
Cool library!
I was trying to experiment with it locally, using the examples in the README to get started, but I couldn't get batch publishing to work.
It looks like while the README references
publish_batch
, the actual function for the producer isbatch_publish
.https://github.com/nicholassm/disruptor-rs/blob/22e13239eddf5f6695238dbde8d6121059dfeb69/src/producer.rs#L218