Skip to content

Commit

Permalink
Remove errant console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Parente committed Feb 9, 2018
1 parent 22c713b commit 26a2a1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions e2e/both.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,6 @@ describe('Consumer/Producer', function() {

// check that no new messages arrive, as the offset was committed
consumer.once('data', function(message) {
console.log('First message offset:', lastOffset, 'New message',
'offset:', message.offset);
done(new Error('Should never be here'));
});

Expand Down
3 changes: 1 addition & 2 deletions lib/kafka-consumer.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ function KafkaConsumer(conf, topicConf) {
self.emit('rebalance.error', e);
}
}
console.log('im so lost without you');
};
} else if (onRebalance && typeof onRebalance === 'function') {
/*
Expand Down Expand Up @@ -205,7 +204,7 @@ KafkaConsumer.prototype.committed = function(toppars, timeout, cb) {
* @example
* consumer.seek({ topic: 'topic', partition: 0, offset: 1000 }, 0, function(err) {
* if (err) {
* console.log(err);
*
* }
* });
*
Expand Down

0 comments on commit 26a2a1f

Please sign in to comment.