You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
401 B
15 lines
401 B
'use strict';
|
|
|
|
var util = require('util');
|
|
var BaseProducer = require('./baseProducer');
|
|
|
|
/** @inheritdoc */
|
|
function Producer (client, options, customPartitioner) {
|
|
BaseProducer.call(this, client, options, BaseProducer.PARTITIONER_TYPES.default, customPartitioner);
|
|
}
|
|
|
|
util.inherits(Producer, BaseProducer);
|
|
|
|
Producer.PARTITIONER_TYPES = BaseProducer.PARTITIONER_TYPES;
|
|
|
|
module.exports = Producer;
|
|
|