UNPKG

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