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

SOHU-Co / kafka-node / 731
89%

Build:
DEFAULT BRANCH: master
Ran 27 Mar 2018 04:16PM UTC
Jobs 13
Files 53
Run time 14min
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
731

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

1080 of 1442 branches covered (74.9%)

3424 of 3902 relevant lines covered (87.75%)

89315.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 731.1 (KAFKA_VERSION=0.9) 27 Mar 2018 04:17PM UTC 0
86.85
Travis Job 731.1
2 731.2 (KAFKA_VERSION=0.10) 27 Mar 2018 04:17PM UTC 0
87.21
Travis Job 731.2
3 731.3 (KAFKA_VERSION=0.11) 27 Mar 2018 04:17PM UTC 0
87.31
Travis Job 731.3
4 731.4 (KAFKA_VERSION=0.9) 27 Mar 2018 04:16PM UTC 0
87.03
Travis Job 731.4
5 731.5 (KAFKA_VERSION=0.10) 27 Mar 2018 04:16PM UTC 0
87.31
Travis Job 731.5
6 731.6 (KAFKA_VERSION=0.11) 27 Mar 2018 04:21PM UTC 0
87.31
Travis Job 731.6
8 731.8 (KAFKA_VERSION=0.10) 27 Mar 2018 04:23PM UTC 0
87.21
Travis Job 731.8
9 731.9 (KAFKA_VERSION=0.11) 27 Mar 2018 04:23PM UTC 0
87.31
Travis Job 731.9
10 731.10 (KAFKA_VERSION=0.9) 27 Mar 2018 04:24PM UTC 0
87.03
Travis Job 731.10
11 731.11 (KAFKA_VERSION=0.10) 27 Mar 2018 04:29PM UTC 0
87.31
Travis Job 731.11
13 731.13 (KAFKA_VERSION=0.9) 27 Mar 2018 04:28PM UTC 0
86.93
Travis Job 731.13
14 731.14 (KAFKA_VERSION=0.10) 27 Mar 2018 04:30PM UTC 0
87.31
Travis Job 731.14
15 731.15 (KAFKA_VERSION=0.11) 27 Mar 2018 04:30PM UTC 0
87.21
Travis Job 731.15
Source Files on build 731
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #731
  • e7b08646 on github
  • Prev Build on master (#730)
  • Next Build on master (#732)
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