Skip to main content

A tool to manage Apache Kafka Connect connectors and tasks using asyncio

Project description

Kafka Connect Manager

A tool to manage Apache Kafka Connect connectors and tasks

Usage:

$ kcm [OPTIONS] COMMAND [ARGS]...

Options:

  • --host TEXT: Connect worker host [env var: CONNECT_HOST; default: http://localhost:8083]
  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • add: Register new connector Supporting environment...
  • list: List all connectors
  • status: Get status connector
  • update: Update connector configuration
  • watch: Actively monitor your connectors health

kcm add

Register new connector

Supporting environment variable expansion in JSON file.

A connector requires a name and configuration, we take both of them separately.

For example:

{
    "name": "MySinkConnector",
    "config": {
        "connector.class": "com.mongodb.kafka.connect.MongoSinkConnector",
        "connection.uri": "${MONGODB_URL}"
    }
}

Usage:

$ kcm add [OPTIONS]

Options:

  • -f, --file FILE: Config JSON file path [required]
  • --help: Show this message and exit.

kcm list

List all connectors

Usage:

$ kcm list [OPTIONS]

Options:

  • --type [all|sink|source]: Type of connectors to list [default: all]
  • --help: Show this message and exit.

kcm status

Get status connector

Usage:

$ kcm status [OPTIONS]

Options:

  • --connector TEXT: Name of connector [required]
  • --help: Show this message and exit.

kcm update

Update connector configuration

Usage:

$ kcm update [OPTIONS] CONNECTOR

Arguments:

  • CONNECTOR: Connector name [required]

Options:

  • -f, --file FILE: Config JSON file path [required]
  • --help: Show this message and exit.

kcm watch

Actively monitor your connectors health

Dashboard Screenshot

Usage:

$ kcm watch [OPTIONS] [CONNECTORS]...

Arguments:

  • [CONNECTORS]...: Connectors to monitor

Options:

  • --refresh-interval INTEGER: Refresh interval [default: 5]
  • --help: Show this message and exit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kafka_connect_manager-0.5.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kafka_connect_manager-0.5.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file kafka_connect_manager-0.5.1.tar.gz.

File metadata

  • Download URL: kafka_connect_manager-0.5.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Linux/5.15.0-1024-azure

File hashes

Hashes for kafka_connect_manager-0.5.1.tar.gz
Algorithm Hash digest
SHA256 2559bf5843c259811d019f9b298ceb161b7c05b15e8b8fb8320fcc690c5ae69d
MD5 48296d9c108be6719b9c9e2523a9bd97
BLAKE2b-256 18d2768f0212d3690c0478cf080459164459b440939be624defd7718b05d2a00

See more details on using hashes here.

File details

Details for the file kafka_connect_manager-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for kafka_connect_manager-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 64800a972625fe4bd9e24155ac486017c1fc88d554bbfa462f18c87a06c6e13b
MD5 e32e8aceae325f1956fccfa13eaabe77
BLAKE2b-256 479462f9b110b0df3358a619bd7fad2c3f1d7c1354486ef83c4532ff54998962

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page