Skip to main content

NeonLink SDK — Kafka/Redpanda client + Protocol Buffer definitions for Python

Project description

neonlink-client

NeonLink SDK for Python — Kafka/Redpanda client + Protocol Buffer definitions.

Installation

pip install neonlink-client

Usage

Kafka SDK

from neonlink import Producer, Consumer, Config

config = Config.from_env()  # reads NEONLINK_* env vars
producer = Producer(config)
consumer = Consumer(config, group_id="my-service")

Proto Types

from messaging.v1 import messaging_pb2

header = messaging_pb2.MessageHeader(
    message_id="uuid",
    correlation_id="correlation-uuid",
    message_type=messaging_pb2.MESSAGE_TYPE_ETL_COMPLETION,
)

Package Contents

  • neonlink — Kafka/Redpanda client SDK (Producer, Consumer, circuit breaker, DLQ, tracing)
  • messaging.v1 — Protocol Buffer definitions for inter-service messaging

Source

Published from mcfo-neonlink.

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

neonlink_client-0.3.5.tar.gz (50.0 kB view details)

Uploaded Source

Built Distribution

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

neonlink_client-0.3.5-py3-none-any.whl (61.6 kB view details)

Uploaded Python 3

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