Skip to main content

Lib to represent kafka topic that can then be used with Troposphere

How to use

Install

pip install aws_custom_ews_kafka_topic

Deploy via Custom resource (self-managed Lambda)

from aws_custom_ews_kafka_topic.custom import KafkaTopic

topic = KafkaTopic(
  ServiceToken=Ref(FunctionArn),
  Name="new-kafka-topic",
  PartitionsCount=6
)

Deploy via Private Registry resource type

from aws_custom_ews_kafka_topic.resource import KafkaTopic

topic = KafkaTopic(
  Name="new-kafka-topic",
  PartitionsCount=6
)

Example from CLI

>>> from troposphere import Template
>>> from aws_custom_ews_kafka_topic.resource import KafkaTopic
>>> t = KafkaTopic("newtopic", Name="toto", PartitionsCount=6, BootstrapServers="toto.net")
>>> c = Template()
>>> c.add_resource(t)
>>> print(c.to_yaml())
Resources:
  newtopic:
    Properties:
      BootstrapServers: toto.net
      Name: toto
      PartitionsCount: 6
    Type: EWS::Kafka::Topic

Credits

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

Metadata

Release files for aws-custom-ews-kafka-topic 0.0.3

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-custom-ews-kafka-topic 0.0.3
File Size Uploaded
aws_custom_ews_kafka_topic-0.0.3.tar.gz 15.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-custom-ews-kafka-topic 0.0.3
File Interpreter ABI Platform
aws_custom_ews_kafka_topic-0.0.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 25.6 kB

Release files / aws_custom_ews_kafka_topic-0.0.3.tar.gz

Download URL aws_custom_ews_kafka_topic-0.0.3.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6c85cb7fb45679ad6b49368b8e35a8989f89176ee7fc3498aed2b0756f0ad86c
BLAKE2b-256 checksum
How to use checksums
1db9d527bf3f06e72c0d130d8ffafe9f96e6beca358e2ea49aa751d13950013d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release files / aws_custom_ews_kafka_topic-0.0.3-py2.py3-none-any.whl

Download URL aws_custom_ews_kafka_topic-0.0.3-py2.py3-none-any.whl
Size 10.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c1e80a9996ae43da4720237fce9d40614726b4dbbc674f38d6e57293dcab5200
BLAKE2b-256 checksum
How to use checksums
0c202758f821ecf69b0b6f89df43d92ad94f77b8ee99d80de7c83325233336c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.0.3 This release

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