Skip to main content

Tool / Lib to transform a simply defined set of kafka topics and transforms the definition into an AWS CloudFormation template that uses either EWS::Kafka::Topic or Custom::KafkaTopic (via AWS Lambda deployed in your account) to create/updated/delete your Kafka topics.

Installation

python3 -m pip install aws_cfn_kafka_admin_provider

Usage

As CLI

aws-cfn-kafka-admin-provider --help
usage: aws-cfn-kafka-admin-provider [-h] -f FILE_PATH [-o OUTPUT_FILE] [--format {json,yaml}] [_ ...]

positional arguments:
  _

optional arguments:
  -h, --help            show this help message and exit
  -f FILE_PATH, --file-path FILE_PATH
                        Path to the kafka definition file
  -o OUTPUT_FILE, --output-file OUTPUT_FILE
                        Path to file output
  --format {json,yaml}  Template format

As lib

from aws_cfn_kafka_admin_provider.aws_cfn_kafka_admin_provider import KafkaStack

stack = KafkaStack("/path/to/input/file.yaml")
stack.render_topics()

Render models

# Through makefile
make data-model

# Via CLI with

datamodel-codegen --input-file-type jsonschema \
    --input aws-cfn-kafka-admin-provider-schema.json \
    --output aws_cfn_kafka_admin_provider/model.py

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Metadata

Release files for aws-cfn-kafka-admin-provider 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-cfn-kafka-admin-provider 0.6.0
File Size Uploaded
aws_cfn_kafka_admin_provider-0.6.0.tar.gz 14.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-cfn-kafka-admin-provider 0.6.0
File Interpreter ABI Platform
aws_cfn_kafka_admin_provider-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.1 kB

Release files / aws_cfn_kafka_admin_provider-0.6.0.tar.gz

Download URL aws_cfn_kafka_admin_provider-0.6.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d6a55dfd322b89d19bb60eb6a505cc734bb2e6c92e602e5f8e2e5abe28a0b955
BLAKE2b-256 checksum
How to use checksums
2c1800588d96e030dc65926e8505a1d6bd23c0bb38a2c6573e08409f0d99df35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.8 CPython/3.9.6 Linux/5.13.9-100.fc33.x86_64

Release files / aws_cfn_kafka_admin_provider-0.6.0-py3-none-any.whl

Download URL aws_cfn_kafka_admin_provider-0.6.0-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b894d65063e61da834c56924130264f5adff528284402d2351e513f0cd3a85d5
BLAKE2b-256 checksum
How to use checksums
8af9c1906c0701c584a1e27b5714043fa382c029c5d5e043f19d307a2d02060f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.8 CPython/3.9.6 Linux/5.13.9-100.fc33.x86_64

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page