Skip to main content

Connectors for Kafka, MQTT, and PostgreSQL. These connectors are specifically for use in the Cyberpartner applications.

Project description

Cyberpartner Connectors

Connectors Package

This repository contains a collection of connectors for Kafka, MQTT, and PostgreSQL that can be used across any microservice in relation to Cyberpartner applications.

There is specific enrichment and schema validation for Cyberpartner routing with Kafka.

The MQTT and PGSQL connectors are fairly generic and can be used in any project, but the kafka wrapper is not.

Connectors Included

  • Kafka: Kafka producer and consumer connectors
  • MQTT: MQTT client, publisher, and subscriber connectors
  • PostgreSQL: PostgreSQL database connector

Installation from AWS CodeArtifact

# Configure poetry to use AWS CodeArtifact
export CODEARTIFACT_AUTH_TOKEN=$(aws codeartifact get-authorization-token \
  --domain YOUR_DOMAIN \
  --domain-owner YOUR_ACCOUNT_ID \
  --query authorizationToken \
  --output text)

export CODEARTIFACT_REPO_URL=$(aws codeartifact get-repository-endpoint \
  --domain YOUR_DOMAIN \
  --domain-owner YOUR_ACCOUNT_ID \
  --repository YOUR_REPO \
  --format pypi \
  --query repositoryEndpoint \
  --output text)

# Configure Poetry
poetry config repositories.codeartifact $CODEARTIFACT_REPO_URL
poetry config http-basic.codeartifact aws $CODEARTIFACT_AUTH_TOKEN

# Add the package to your project
poetry add lockfaleconnectors

Publish to PyPi

poetry build
poetry config pypi-token.pypi <your-token-here>
poetry publish --build

TODO

  • Update required / expected environment variables
  • Use confluent-kafka
  • Update Psycopg to v3.3

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

lockfale_connectors-1.4.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

lockfale_connectors-1.4.1-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file lockfale_connectors-1.4.1.tar.gz.

File metadata

  • Download URL: lockfale_connectors-1.4.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Windows/10

File hashes

Hashes for lockfale_connectors-1.4.1.tar.gz
Algorithm Hash digest
SHA256 991b645da7619b2f3ad4b7924ef296d7f68d5cc438249d67f11a42833917e502
MD5 196ba7cdb27672b254b5c929bf281864
BLAKE2b-256 1f0ab08f14524a41bee70ffeb006e6dff9b066758d03ee2c6aaab0d9c0cb3d05

See more details on using hashes here.

File details

Details for the file lockfale_connectors-1.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lockfale_connectors-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 614472ab7d30dca16a7b8ea300d0250b6844d077bf0d65c740aeeac5e3bd7699
MD5 8dc641192fa4a722db1088a838664132
BLAKE2b-256 746f1897d8106e640dbc9010256fc926988862ed1042a5fea39bc03b0f3b6d14

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