Skip to content
N

Node Tools

A collection of tools that work via NodeJs interpreter. Many are here because some languages do not have sufficient integration support, and NodeJS binaries are easy to run with single command line.

Support

You can open support tickets by sending mail to: gitlab-cyber-node-tools-479-issue-@cybercoder.site

Kafka Tools

Some basic interaction with Kafka.

Send Message

Usage: cyber-kafka-send [options] <message>

Sends a message to Kafka broker

Arguments:

  message           The message payload to send to kafka

Options:
  --topic <value>   Topic to send to
  --broker <value>  Broker to send to host:port
  --ssl             useSsl
  -h, --help        display help for command

Read Message

Usage: cyber-kafka-read [options] <group>

Arguments:
  group             Group id to listen as

Options:
  --topic <value>   Topic to read from
  --broker <value>  Broker to read to host:port
  --ssl             useSsl
  -h, --help        display help for command

Manage Topic

Usage: cyber-kafka-topic [options] <action>

Rudimentary topic management

Arguments:
  action                     create | delete | list | expand | meta

Options:
  --topic <value>            Topic name for the action (not needed for list)
  --broker <value>           Broker to send to host:port
  --partitions <partitions>  Number of partitions (not needed for meta) (default: "1")
  --ssl                      useSsl
  -h, --help                 display help for command
Actions:
    * list - list topics known to the broker
    * create - create a new topic
    * delete - delete a topic
    * expand - add more partitions to topic
        - the partitions option specifies new partition count and must be bigger than current count
    * meta - displays meta information about the topic