1 | ;
|
2 |
|
3 | var util = require('util');
|
4 | var BaseProducer = require('./baseProducer');
|
5 |
|
6 | /** @inheritdoc */
|
7 | function HighLevelProducer (client, options, customPartitioner) {
|
8 | BaseProducer.call(this, client, options, BaseProducer.PARTITIONER_TYPES.cyclic, customPartitioner);
|
9 | }
|
10 |
|
11 | util.inherits(HighLevelProducer, BaseProducer);
|
12 |
|
13 | HighLevelProducer.PARTITIONER_TYPES = BaseProducer.PARTITIONER_TYPES;
|
14 |
|
15 | module.exports = HighLevelProducer;
|