UNPKG

kafka-node

Version:

Client for Apache Kafka v0.9.x, v0.10.x and v0.11.x

19 lines (15 loc) 501 B
var util = require('util'); /** * Failed to rebalance the consumer * * @param {String} message A message describing the error during rebalancing of the consumer * * @constructor */ var FailedToRebalanceConsumerError = function (message) { Error.captureStackTrace(this, this); this.message = message; }; util.inherits(FailedToRebalanceConsumerError, Error); FailedToRebalanceConsumerError.prototype.name = 'FailedToRebalanceConsumerError'; module.exports = FailedToRebalanceConsumerError;