• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SOHU-Co / kafka-node / 757 / 11
89%
master: 89%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2018 04:32PM UTC
Files 53
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Apr 2018 04:22PM UTC coverage: 87.314% (-0.03%) from 87.34%
KAFKA_VERSION=0.10

cron

travis-ci

Xiaoxin Lu
Add missing super ctor calls across code base, fix small quirks (#899)

* Add missing super ctor calls across code base, fix small quirks

1) noAckBatchOptions in KafkaClient was not being read correctly from options
2) Use EventEmitter directly as name instead of events.EventEmitter so that IDE code completion behaves correctly
3) Fix some typos/case incorrectness
4) Raise Client max event listeners, as high volume publishing while a broker is not ready schedules lots of 'onBrokerReady' events which triggers nodes memory leak warning. Give a higher threshold.
5) Even though Partitioner has no body, still added super ctor for correctness, so if a body is added in the future, bugs are prevented.
6) Clean up some code style to use named functions instead of anonymous functions for consistency, and use let/const in some places
7) Made notes about intentionally not calling KafkaClient and ConsumerGroup's ctors, although this is a sign of maintenance concerns as this will make it more difficult to rewrite to classes, and this should be resolved in the future.

* move super ctor down below self instantiating client

1066 of 1442 branches covered (73.93%)

3407 of 3902 relevant lines covered (87.31%)

6901.3 hits per line

Source Files on job 757.11 (KAFKA_VERSION=0.10)
  • Tree
  • List 0
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 692
  • Travis Job 757.11
  • e7b08646 on github
  • Prev Job for KAFKA_VERSION=0.10 on master (#749.11)
  • Next Job for KAFKA_VERSION=0.10 on master (#758.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc