Class RandomStringBlobMessageProducerFactory
java.lang.Object
org.nuxeo.importer.stream.producer.RandomStringBlobMessageProducerFactory
- All Implemented Interfaces:
ProducerFactory<BlobMessage>
public class RandomStringBlobMessageProducerFactory
extends Object
implements ProducerFactory<BlobMessage>
- Since:
- 9.1
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRandomStringBlobMessageProducerFactory
(long nbBlobs, String lang, int averageSizeKB, String marker) Produce messages with a random blob content -
Method Summary
-
Field Details
-
nbBlobs
protected final long nbBlobs -
lang
-
averageSizeKB
protected final int averageSizeKB -
marker
-
-
Constructor Details
-
Method Details
-
createProducer
- Specified by:
createProducer
in interfaceProducerFactory<BlobMessage>
- Parameters:
producerId
- the producer index
-