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

SOHU-Co / kafka-node / 724
89%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2018 04:11PM UTC
Jobs 14
Files 53
Run time 10min
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

pending completion
724

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

1081 of 1442 branches covered (74.97%)

3425 of 3902 relevant lines covered (87.78%)

96162.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 724.1 (KAFKA_VERSION=0.9) 18 Mar 2018 04:11PM UTC 0
86.93
Travis Job 724.1
2 724.2 (KAFKA_VERSION=0.10) 18 Mar 2018 04:11PM UTC 0
87.13
Travis Job 724.2
3 724.3 (KAFKA_VERSION=0.11) 18 Mar 2018 04:11PM UTC 0
87.31
Travis Job 724.3
4 724.4 (KAFKA_VERSION=0.9) 18 Mar 2018 04:11PM UTC 0
87.03
Travis Job 724.4
5 724.5 (KAFKA_VERSION=0.10) 18 Mar 2018 04:12PM UTC 0
87.31
Travis Job 724.5
6 724.6 (KAFKA_VERSION=0.11) 18 Mar 2018 04:15PM UTC 0
87.31
Travis Job 724.6
8 724.8 (KAFKA_VERSION=0.10) 18 Mar 2018 04:15PM UTC 0
87.31
Travis Job 724.8
9 724.9 (KAFKA_VERSION=0.11) 18 Mar 2018 04:16PM UTC 0
87.21
Travis Job 724.9
10 724.10 (KAFKA_VERSION=0.9) 18 Mar 2018 04:16PM UTC 0
86.93
Travis Job 724.10
11 724.11 (KAFKA_VERSION=0.10) 18 Mar 2018 04:20PM UTC 0
87.31
Travis Job 724.11
12 724.12 (KAFKA_VERSION=0.11) 18 Mar 2018 04:21PM UTC 0
87.21
Travis Job 724.12
13 724.13 (KAFKA_VERSION=0.9) 18 Mar 2018 04:20PM UTC 0
87.06
Travis Job 724.13
14 724.14 (KAFKA_VERSION=0.10) 18 Mar 2018 04:21PM UTC 0
87.13
Travis Job 724.14
15 724.15 (KAFKA_VERSION=0.11) 18 Mar 2018 04:21PM UTC 0
87.31
Travis Job 724.15
Source Files on build 724
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #724
  • e7b08646 on github
  • Prev Build on master (#723)
  • Next Build on master (#725)
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