Define all your topics and render CFN templates to create/modify Kafka topics / acls / schemas
Reason this release was yanked:
Bugged
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for aws_cfn_kafka_admin_provider-0.5.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c11e375610e6a80338121989fb10eaa72922471ae02a149d145efacf6c953dd |
|
MD5 | b60a5afd4cc0cb78c4b7ce69be257973 |
|
BLAKE2b-256 | 77ebb4482d26904863f2849524dc51a0ddd1eacebfcf816b828218c7650e3ec4 |
Close
Hashes for aws_cfn_kafka_admin_provider-0.5.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c06f5ddb0df3ee7b80400c47aa3c2b052dc7ceaeb7131331fb108a13a3d286d |
|
MD5 | be88861dc87a39ac7e835d92327a74c4 |
|
BLAKE2b-256 | f0aca0f62273b5c26e85b4239ab21ab1d8429792263793fa5b89cd215aac85f6 |