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

SOHU-Co / kafka-node / 41
89%

Build:
DEFAULT BRANCH: master
Ran 25 Oct 2016 02:11PM UTC
Jobs 3
Files 38
Run time 13s
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
41

push

travis-ci

Xiaoxin Lu
Adding new util function for topics validations (#495)

* Adding new function for topics validations

Leaving the `validateTopics` topics function as it is because I believe it is meant for validating the topics coming from the `send()` function. Not sure, though.

`validateCreateTopics` contains following checks which are similar to what is been done for Kafka here [https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/common/Topic.scala]

- check if the topic is empty.
- check if the topic is . or ..
- check if the topic length is greater than 249 characters.
- check if the topic, is not ASCII alphanumeric.

* Update utils.js

For build fix.

* Update utils.js

Fixes as per suggestion.

2301 of 2705 relevant lines covered (85.06%)

21743.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41.1 25 Oct 2016 02:11PM UTC 0
85.06
Travis Job 41.1
2 41.2 25 Oct 2016 02:11PM UTC 0
85.06
Travis Job 41.2
3 41.3 25 Oct 2016 02:11PM UTC 0
85.06
Travis Job 41.3
Source Files on build 41
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #41
  • 7232e28e on github
  • Prev Build on master (#33)
  • Next Build on master (#45)
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